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
| Route | Method | Description |
|---|---|---|
/api/auth/signin/email | POST | Sign in with email (send magic code) |
/api/auth/signin/email/confirm | POST | Confirm magic code sign-in |
/api/auth/signin/workspace | POST | Sign in to a specific workspace |
/api/auth/register | POST | Register a new account |
/api/auth/refresh | POST | Refresh JWT token |
/api/auth/verify/code | POST | Verify authentication code |
/api/auth/verify/resend | POST | Resend verification code |
/api/auth/social/login | POST | Social login (Google, GitHub, Facebook, Twitter) |
Timer
| Route | Method | Description |
|---|---|---|
/api/timer/start | POST | Start the timer |
/api/timer/stop | POST | Stop the timer |
/api/timer/toggle | POST | Toggle timer on/off |
/api/timer/status | GET | Get current timer status |
/api/timer/timesheet | GET | Get time log entries |
/api/timer/timesheet/[id] | GET, PUT, DELETE | Manage specific time log |
/api/timer/time-log | GET, POST | List and create time logs |
/api/timer/time-slot | GET | Get time slots |
Tasks
| Route | Method | Description |
|---|---|---|
/api/tasks | GET, POST | List and create tasks |
/api/tasks/[id] | GET, PUT, DELETE | Task CRUD |
/api/tasks/team | GET | Get tasks for a team |
/api/tasks/employee | GET | Get tasks for an employee |