Przejdź do głównej zawartości

API Reference

Ever Teams communicates with the Ever Gauzy backend through a Next.js API proxy layer. This page documents the available API routes and their purposes.

Authentication

RouteMethodDescription
/api/auth/signin/emailPOSTSign in with email (send magic code)
/api/auth/signin/email/confirmPOSTConfirm magic code sign-in
/api/auth/signin/workspacePOSTSign in to a specific workspace
/api/auth/registerPOSTRegister a new account
/api/auth/refreshPOSTRefresh JWT token
/api/auth/verify/codePOSTVerify authentication code
/api/auth/verify/resendPOSTResend verification code
/api/auth/social/loginPOSTSocial login (Google, GitHub, Facebook, Twitter)

Timer

RouteMethodDescription
/api/timer/startPOSTStart the timer
/api/timer/stopPOSTStop the timer
/api/timer/togglePOSTToggle timer on/off
/api/timer/statusGETGet current timer status
/api/timer/timesheetGETGet time log entries
/api/timer/timesheet/[id]GET, PUT, DELETEManage specific time log
/api/timer/time-logGET, POSTList and create time logs
/api/timer/time-slotGETGet time slots

Tasks

RouteMethodDescription
/api/tasksGET, POSTList and create tasks
/api/tasks/[id]GET, PUT, DELETETask CRUD
/api/tasks/teamGETGet tasks for a team
/api/tasks/employeeGETGet tasks for an employee

Teams & Organizations

RouteMethodDescription
/api/organization-teamGET, POSTList and create teams
/api/organization-team/[id]GET, PUT, DELETETeam CRUD
/api/organization-team/[id]/membersGET, POST, DELETEManage team members
/api/organization-team-employeeGET, PUTManage team employees
/api/organization-team-joinPOSTJoin a team
/api/organization-team-join/validatePOSTValidate join request

Projects

RouteMethodDescription
/api/organization-projectsGET, POSTList and create projects
/api/organization-projects/[id]GET, PUT, DELETEProject CRUD
/api/organization-projects/settingGET, PUTProject settings

Daily Plans

RouteMethodDescription
/api/daily-planGET, POSTList and create daily plans
/api/daily-plan/[id]GET, PUT, DELETEPlan CRUD
/api/daily-plan/meGETCurrent user's plans
/api/daily-plan/[id]/taskPOST, DELETEAdd/remove tasks from plan

Timesheets

RouteMethodDescription
/api/timesheetGET, POSTList and create timesheets
/api/timesheet/[action]POSTSubmit, approve, reject timesheets
/api/timesheet/countGETTimesheet count statistics

User & Employee

RouteMethodDescription
/api/userGET, PUTCurrent user profile
/api/user/meGETGet authenticated user
/api/user/[id]GET, PUT, DELETEUser CRUD
/api/employeeGETList employees

Invitations

RouteMethodDescription
/api/inviteGET, POSTList and create invitations
/api/invite/[id]GET, PUT, DELETEInvitation CRUD
/api/invite/validatePOSTValidate an invitation
/api/invite/resendPOSTResend an invitation

Task Metadata

RouteMethodDescription
/api/task-statusesGET, POSTTask statuses
/api/task-prioritiesGET, POSTTask priorities
/api/task-sizesGET, POSTTask sizes
/api/task-versionsGET, POSTTask versions
/api/issue-typesGET, POSTIssue types
/api/task-related-issue-typesGET, POSTRelated issue types
/api/tagsGET, POST, PUT, DELETETags/labels

Roles & Permissions

RouteMethodDescription
/api/rolesGET, POSTList and create roles
/api/roles/[id]GET, PUT, DELETERole CRUD
/api/role-permissionsGET, PUTRole permission assignments

Integrations

RouteMethodDescription
/api/integrationGET, POSTList and manage integrations
/api/integration/[type]GET, POST, PUTType-specific operations
/api/integration-tenantGET, PUTTenant integration settings

Other

RouteMethodDescription
/api/languagesGETAvailable languages
/api/image-assetsGETImage asset management
/api/email-resetPOSTPassword/email reset
/api/subscribePOSTNewsletter subscription
/api/healthGETHealth check endpoint
/api/livekitPOSTGenerate LiveKit room tokens
/api/publicGETPublic team data

Backend API Documentation

For the full Ever Gauzy API documentation (the backend), please refer to:

Request Format

All API requests should include:

Content-Type: application/json
Authorization: Bearer <jwt-token>
Tenant-Id: <tenant-uuid>
Organization-Id: <org-uuid>
notatka

When using the web app, these headers are automatically injected by the API proxy layer. You only need to handle them when making direct API calls.