Account creation
UsePOST /api/v1/auth/register to create a new credentials-based account.
To use that account in Workspace, complete one of these operations:
- Create a workspace user with the account ID in Users - Create a user.
- Join directly to an organization through
POST /api/v1/account/organization/{orgId}/join.
Endpoint parameters
Endpoint parameters
Example response
Example response
Log in with credentials
Example response
Example response
Log out
Example response
Example response
Manage API tokens
Use these endpoints to manage API tokens for the authenticated account. Token secrets are returned only when a token is created; after that, list responses include metadata and the token hash.List tokens
Endpoint parameters
Endpoint parameters
Example response
Example response
Create a token
Endpoint parameters
Endpoint parameters
Example response
Example response
Delete a token
Delete uses the stored token hash, not the clear token secret.Example response
Example response
Errors and edge cases
- 401/403: missing or invalid API token.
- 429: too many login attempts.
- 400: register payload missing required account roles, email, or password.