Skip to content

REST API — Users

Method Path What it does
GET /api/users The caller’s own user record (operators: every user).
POST /api/users Create a user record — operators only.
GET /api/users/me Get current authenticated user details including onboarding state.
GET /api/users/me/accounts List the current user’s workspaces within the request’s org (workspace picker).
GET /api/users/me/companies Companies in this org where the user OWNS a workspace.
GET /api/users/me/company Get the selected workspace’s company (with teams), or None.
GET /api/users/slug/{slug} Get user details by slug — yourself, or any user for an operator.
DELETE /api/users/{user_id} Delete a user by ID — self, or any user for an operator.
GET /api/users/{user_id} Get user details by ID (self, or any user for an operator).
PATCH /api/users/{user_id} Update a user by ID — self (profile fields), or any user for an operator.
POST /api/users/{user_id}/create_chat_thread Create a chat thread under a user and link via M2M.