Reference
REST API Reference
Reference for the AxosilDesk workspace API. Paths are relative to the address you sign in to, for example https://<your-axosildesk-host> + /api/v1/…
Health1 endpoints
- GET
/api/healthLiveness check: service status, version and timestamp. Add ?ready=1 to also check the database (503 when it does not answer).
Public — no auth required
Authentication5 endpoints
- POST
/api/v1/auth/mobile/loginExchange email and password (then a two-factor code if enabled) for a 7-day user token.
Public — no auth required - GET
/api/v1/auth/mobile/meCurrent user for a user token.
- POST
/api/v1/auth/mobile/logoutRevoke the user token.
- POST
/api/v1/auth/forgot-passwordEmail a password reset link.
Public — no auth required - POST
/api/v1/auth/reset-passwordSet a new password with a reset token.
Public — no auth required
Agent4 endpoints
- POST
/api/v1/agent/registerRegister a desktop agent with user credentials and machine info. Returns agent ID, agent token (90 days) and tracking configuration.
Public — no auth required - POST
/api/v1/agent/syncBatch-upload up to 1,000 activity events (app, window title, URL, duration, timestamps). Idempotent; updates productivity scores.
- POST
/api/v1/agent/heartbeatSend heartbeat signal to update agent online status.
- POST
/api/v1/agent/screenshotUpload a screenshot (base64 image, max 5 MB) with app and window metadata. Stored as WebP.
Users5 endpoints
- GET
/api/v1/usersList users in the workspace. Supports ?search, ?role, ?status, ?page and ?limit (default 25, max 200).
- POST
/api/v1/usersCreate/invite a new user. Checks seat limit against subscription. Sends invite email.
- GET
/api/v1/users/:userIdGet a user: yourself, or anyone you manage or administer.
- PATCH
/api/v1/users/:userIdUpdate a user. Users may edit their own name, timezone and avatar; admins also role, status, department and team.
- DELETE
/api/v1/users/:userIdDeactivate a user (admin only; not a hard delete).
Current User3 endpoints
- GET
/api/v1/meGet current authenticated user profile with tenant info.
- PATCH
/api/v1/meUpdate own profile (name, timezone, avatar URL).
- POST
/api/v1/me/passwordChange your password (alias of /api/v1/profile/change-password). Requires the current password.
Projects & Tasks9 endpoints
- GET
/api/v1/projectsList all projects. Supports ?status filter.
- POST
/api/v1/projectsCreate a new project with name, description, status, and member IDs.
- GET
/api/v1/projects/:projectIdGet project details with tasks and members.
- PATCH
/api/v1/projects/:projectIdUpdate project fields.
- DELETE
/api/v1/projects/:projectIdDelete a project.
- GET
/api/v1/projects/:projectId/tasksList tasks for a project.
- POST
/api/v1/projects/:projectId/tasksCreate a task with title, description, status, priority, assignee.
- PATCH
/api/v1/projects/:projectId/tasks/:taskIdUpdate task fields (including status transitions).
- DELETE
/api/v1/projects/:projectId/tasks/:taskIdDelete a task.
Time Tracking7 endpoints
- GET
/api/v1/time-entriesList time entries: your own, your team’s (managers) or everyone’s (admins). Supports ?userId, ?projectId, ?taskId, ?from and ?to.
- PATCH
/api/v1/time-entries/:idUpdate a time entry.
- DELETE
/api/v1/time-entries/:idDelete a time entry.
- POST
/api/v1/time-entriesCreate a time entry for yourself. Without an end time it starts a running timer.
- GET
/api/v1/timesheetsList timesheets. Managers see team timesheets.
- POST
/api/v1/timesheetsCreate/submit a timesheet for a date range.
- PATCH
/api/v1/timesheets/:timesheetIdUpdate timesheet status (submit/approve/reject). Managers can approve.
Attendance & Leave7 endpoints
- GET
/api/v1/attendanceList attendance records. Supports ?from and ?to (YYYY-MM-DD) and ?userId.
- POST
/api/v1/attendanceClock in — creates a new attendance record.
- POST
/api/v1/attendance/clock-outClock out — updates the latest open attendance record.
- GET
/api/v1/leave-requestsList leave requests. Managers see team requests. Supports ?status.
- GET
/api/v1/leave-requests/myYour own leave requests. Supports ?status, ?page and ?limit.
- POST
/api/v1/leave-requestsSubmit a leave request with type, dates, and reason.
- PATCH
/api/v1/leave-requests/:requestIdApprove or reject a leave request (manager/admin only).
Teams & Departments8 endpoints
- GET
/api/v1/departmentsList all departments.
- POST
/api/v1/departmentsCreate a department.
- PATCH
/api/v1/departments/:departmentIdUpdate a department (admin only). PATCH /api/v1/departments with { id, … } also works.
- DELETE
/api/v1/departments/:departmentIdDelete a department (admin only).
- GET
/api/v1/teamsList all teams.
- POST
/api/v1/teamsCreate a team with name and department assignment.
- PATCH
/api/v1/teams/:teamIdUpdate a team (admin only). PATCH /api/v1/teams with { id, … } also works.
- DELETE
/api/v1/teams/:teamIdDelete a team (admin only).
Analytics & Reports8 endpoints
- GET
/api/v1/activitiesList activity records with app names, durations, and productivity categories.
- GET
/api/v1/screenshotsList screenshot metadata (timestamps, activity overlays).
- GET
/api/v1/reports/productivityProductivity report: daily trends, app breakdown, team averages.
- GET
/api/v1/reports/teamTeam summary report with per-member metrics (manager only).
- GET
/api/v1/app-categoriesList app productivity categories (productive/neutral/unproductive).
- POST
/api/v1/app-categoriesCreate or update the category of an app: { appName, category, domain? }.
- PATCH
/api/v1/app-categoriesChange the category of an existing classification: { id, category }.
- DELETE
/api/v1/app-categories?id=Delete a classification.
Notifications & Audit3 endpoints
- GET
/api/v1/notificationsList notifications for the current user.
- PATCH
/api/v1/notificationsMark notifications as read: { ids: [...] } or { all: true }.
- GET
/api/v1/audit-logsList tenant audit log entries (admin only).
API keys4 endpoints
- GET
/api/v1/integrations/api-keysList API keys (prefix only). Owner/admin.
- POST
/api/v1/integrations/api-keysCreate an API key with a role (read_only, manager or admin). The key is returned once. Owner/admin.
- DELETE
/api/v1/integrations/api-keys/:idRevoke an API key. Owner/admin.
- POST
/api/v1/integrations/api-keys/regenerateRevoke all keys and create a new one atomically. Owner/admin.
Settings2 endpoints
- GET
/api/v1/settingsGet tenant settings (general, working hours, screenshot config, productivity rules).
- PATCH
/api/v1/settingsUpdate tenant settings. Owner/admin only.
Billing (Stripe)4 endpoints
- GET
/api/v1/billingGet billing overview: current plan, subscription status, seat usage.
- POST
/api/v1/billing/checkoutCreate a Stripe Checkout session for plan subscription.
- POST
/api/v1/billing/portalCreate a Stripe Customer Portal session for self-service billing.
- POST
/api/webhooks/stripeStripe webhook handler for subscription lifecycle events.
Public — no auth required
Real-time (SSE)3 endpoints
- GET
/api/v1/realtime/dashboardSSE stream (event "dashboard") with live metrics: active agents, productivity, hours, tasks, notifications. Updates every 30s.
- GET
/api/v1/realtime/notificationsSSE stream for new notification events. Updates every 15s.
- GET
/api/v1/realtime/activitySSE stream (event "activity") with recent activity and online agents. Updates every 15s.
Tenant Provisioning1 endpoints
- POST
/api/v1/tenants/provisionSelf-serve sign-up: creates the workspace database, owner account, subscription and modules. Limited to 5 an hour per IP.
Public — no auth required
All endpoints217 endpoints
Generated from the tenant app's route tree with scripts/gen-api-index.ts. The sections above describe the most used endpoints in detail.
217 endpoints
- GET
/api/v1/activities - GET
/api/v1/activities/apps - GET
/api/v1/activities/log - GET
/api/v1/activities/summary - GET
/api/v1/activities/urls - GET
/api/v1/agent/config - POST
/api/v1/agent/heartbeat - POST
/api/v1/agent/location - POST
/api/v1/agent/logout - POST
/api/v1/agent/register - POST
/api/v1/agent/screenshot - POST
/api/v1/agent/sync - GET
/api/v1/agent/update/:target/:arch/:current - GETPOST
/api/v1/ai/app-suggestions - GET
/api/v1/ai/digests - POST
/api/v1/ai/run - GET
/api/v1/analytics/insights - GET
/api/v1/analytics/insights/app-usage - GET
/api/v1/analytics/insights/billing-summary - GET
/api/v1/analytics/insights/efficiency - GET
/api/v1/analytics/insights/highlights - GET
/api/v1/analytics/insights/project - GET
/api/v1/analytics/insights/rankings - GET
/api/v1/analytics/insights/revenue - GET
/api/v1/analytics/insights/timing-trends - GET
/api/v1/analytics/insights/utilization - GET
/api/v1/analytics/utilization - GET
/api/v1/analytics/utilization/:userId - GET
/api/v1/announcements - GETPOSTPATCHDELETE
/api/v1/app-categories - GETPOST
/api/v1/attendance - POST
/api/v1/attendance/clock-out - GET
/api/v1/audit-logs - POST
/api/v1/auth/accept-invite - POST
/api/v1/auth/discover - POST
/api/v1/auth/forgot-password - GET
/api/v1/auth/mfa/oauth - POST
/api/v1/auth/mobile/login - POST
/api/v1/auth/mobile/logout - GET
/api/v1/auth/mobile/me - GETPOST
/api/v1/auth/oauth-workspace - POST
/api/v1/auth/resend-verification - POST
/api/v1/auth/reset-password - GET
/api/v1/auth/validate-workspace - POST
/api/v1/auth/verify-email - GET
/api/v1/billing - POST
/api/v1/billing/addons - POST
/api/v1/billing/checkout - POST
/api/v1/billing/deactivate - GET
/api/v1/billing/invoices - GET
/api/v1/billing/plans/compare - POST
/api/v1/billing/portal - POST
/api/v1/billing/recover - POST
/api/v1/billing/recover/export - PUT
/api/v1/billing/seats - GETPOST
/api/v1/clients - GETPUT
/api/v1/clients/:clientId - PUT
/api/v1/clients/:clientId/archive - GET
/api/v1/clients/:clientId/projects - GET
/api/v1/dashboard/project-time - GET
/api/v1/dashboard/status-counts - GET
/api/v1/dashboard/summary - GET
/api/v1/dashboard/timeline - GET
/api/v1/dashboard/user-activity - GET
/api/v1/dashboard/weekly-chart - GETPOST
/api/v1/demo/access - POST
/api/v1/demo/auto-login - GETPOSTPATCH
/api/v1/departments - PATCHDELETE
/api/v1/departments/:departmentId - GETPOST
/api/v1/field-tasks - GETPATCHDELETE
/api/v1/field-tasks/:id - POSTGET
/api/v1/field-tasks/:id/verify - GET
/api/v1/field-tasks/:id/verify/:verificationId/photo - GET
/api/v1/field-tasks/stats - GET
/api/v1/geofence-events - GETPOST
/api/v1/geofences - PUTDELETE
/api/v1/geofences/:id - GET
/api/v1/geolocation - GET
/api/v1/geolocation/:userId - GET
/api/v1/integrations - GETPUT
/api/v1/integrations/:type - POST
/api/v1/integrations/:type/sync - POST
/api/v1/integrations/:type/test-connection - GETPOST
/api/v1/integrations/api-keys - DELETE
/api/v1/integrations/api-keys/:id - POST
/api/v1/integrations/api-keys/regenerate - GETPOST
/api/v1/leave-requests - PATCH
/api/v1/leave-requests/:requestId - GET
/api/v1/leave-requests/my - GETPUT
/api/v1/leaves/balances - POST
/api/v1/leaves/balances/edit-all - POST
/api/v1/leaves/balances/reset-all - GET
/api/v1/leaves/calendar - GETPOSTDELETE
/api/v1/leaves/company-holidays - GETPATCH
/api/v1/me - GET
/api/v1/me/dashboard - POST
/api/v1/me/password - GETPUT
/api/v1/me/preferences - GET
/api/v1/me/task-summary - GET
/api/v1/me/timeline - GETPATCH
/api/v1/mobile/field-tasks - POST
/api/v1/mobile/field-tasks/:id/verify - GET
/api/v1/mobile/location/admin/tracks - GET
/api/v1/mobile/location/admin/tracks/:trackId/points - GET
/api/v1/mobile/location/routes - POST
/api/v1/mobile/location/track - GETPUT
/api/v1/mobile/preferences - GET
/api/v1/mobile/theme - GETPATCH
/api/v1/notifications - GETPATCH
/api/v1/profile - POST
/api/v1/profile/change-password - GET
/api/v1/profile/mfa - POST
/api/v1/profile/mfa/disable - POST
/api/v1/profile/mfa/enable - POST
/api/v1/profile/mfa/recovery-codes - POST
/api/v1/profile/mfa/setup - GETPOST
/api/v1/projects - GETPATCHDELETE
/api/v1/projects/:projectId - GET
/api/v1/projects/:projectId/dependencies/graph - GET
/api/v1/projects/:projectId/field-tasks - GETPOST
/api/v1/projects/:projectId/invoices - GETPUT
/api/v1/projects/:projectId/invoices/:invoiceId - GETPOST
/api/v1/projects/:projectId/tasks - PATCHDELETE
/api/v1/projects/:projectId/tasks/:taskId - GETPOSTDELETE
/api/v1/projects/:projectId/tasks/:taskId/dependencies - GET
/api/v1/projects/:projectId/timesheet - GET
/api/v1/realtime/activity - GET
/api/v1/realtime/dashboard - GET
/api/v1/realtime/notifications - POST
/api/v1/register/bulk-import - GET
/api/v1/reports/:id/download - POSTGET
/api/v1/reports/generate - GET
/api/v1/reports/preview - GET
/api/v1/reports/productivity - GET
/api/v1/reports/team - GET
/api/v1/screenshots - GET
/api/v1/screenshots/:id/image - POST
/api/v1/screenshots/bulk - GET
/api/v1/screenshots/grouped - GETPATCH
/api/v1/settings - GETPUT
/api/v1/settings/agent-app/activity-frequency - GETPUT
/api/v1/settings/agent-app/menu-restrictions - GETPUT
/api/v1/settings/agent-app/notifications - GETPUT
/api/v1/settings/ai - GETPOST
/api/v1/settings/apps-url/categories - PUTDELETE
/api/v1/settings/apps-url/categories/:id - GETPUT
/api/v1/settings/apps-url/tracking - GETPUT
/api/v1/settings/efficiency - GETPUT
/api/v1/settings/email/:category/recipients - GETPUT
/api/v1/settings/email/attendance - GETPUT
/api/v1/settings/email/delivery-time - GETPUT
/api/v1/settings/email/insights - GETPUT
/api/v1/settings/email/leaves - GETPUT
/api/v1/settings/email/min-hour-reminder - GETPUT
/api/v1/settings/email/non-productive-apps - GET
/api/v1/settings/export - GETPUT
/api/v1/settings/leaves/allocation - GETPUT
/api/v1/settings/leaves/approval-workflow - GETPUT
/api/v1/settings/leaves/continuous - GETPUT
/api/v1/settings/leaves/hour-allowance - GETPOST
/api/v1/settings/leaves/leave-types - PUTDELETE
/api/v1/settings/leaves/leave-types/:id - GETPUT
/api/v1/settings/leaves/monthly - GETPUT
/api/v1/settings/leaves/special - GETPUT
/api/v1/settings/leaves/yearly - GETPUT
/api/v1/settings/mobile-app - GET
/api/v1/settings/modules - PUT
/api/v1/settings/modules/:moduleSlug - GETPOST
/api/v1/settings/modules/ip-restrictions - PUTDELETE
/api/v1/settings/modules/ip-restrictions/:id - GETPUT
/api/v1/settings/notifications - GETPUT
/api/v1/settings/retention - GETPOST
/api/v1/settings/roles - GETPUTDELETE
/api/v1/settings/roles/:id - GETPUT
/api/v1/settings/roles/:id/permissions - GETPUT
/api/v1/settings/security - GETPUT
/api/v1/settings/time-tracking/time-requests - GETPUT
/api/v1/settings/time-tracking/timezone - GETPUT
/api/v1/settings/time-tracking/track-by - GETPUT
/api/v1/settings/time-tracking/tracking-days - GETPUT
/api/v1/settings/time-tracking/working-days - GETPOST
/api/v1/settings/wellness/activities - PUTDELETE
/api/v1/settings/wellness/activities/:id - GETPUT
/api/v1/settings/wellness/assignments - GETPUT
/api/v1/settings/wellness/config - GETPOST
/api/v1/task-requests - GETPUT
/api/v1/task-requests/:id - POST
/api/v1/tasks/:taskId/pause-timer - POST
/api/v1/tasks/:taskId/start-timer - POST
/api/v1/tasks/:taskId/stop-timer - GET
/api/v1/tasks/:taskId/timer-status - GET
/api/v1/tasks/my - GETPOSTPATCH
/api/v1/teams - PATCHDELETE
/api/v1/teams/:teamId - POST
/api/v1/tenants/provision - GETPOST
/api/v1/time-entries - PATCHDELETE
/api/v1/time-entries/:id - GETPOST
/api/v1/time-requests - GETPUT
/api/v1/time-requests/:id - GETPOST
/api/v1/timelines - GETPOST
/api/v1/timesheets - PATCH
/api/v1/timesheets/:timesheetId - POST
/api/v1/timesheets/export - GET
/api/v1/timesheets/overview - GETPOST
/api/v1/users - GETPATCHDELETE
/api/v1/users/:userId - GETPUT
/api/v1/users/:userId/custom-roles - POST
/api/v1/users/:userId/invite - POST
/api/v1/users/:userId/mfa/reset - GETPOST
/api/v1/visit-sites - PATCHDELETE
/api/v1/visit-sites/:id - POST
/api/v1/wellness/log - GET
/api/v1/wellness/schedule - GETPOST
/api/v1/work-schedule-templates - GETPOST
/api/v1/work-schedules - PUTDELETE
/api/v1/work-schedules/:id - GET
/api/v1/work-schedules/export
Super Admin API
The Super Admin console is a separate app (port 3001 locally) with its own operator sign-in. These endpoints are not available to workspace users or API keys:
- GET
/api/healthSuper admin health check - POST
/api/auth/[...nextauth]Super admin authentication (credentials only) - POST
/api/stripe/sync-plansSync subscription plans to Stripe - PATCH
/api/tenants/:id/statusUpdate tenant status (activate/suspend/cancel)