API reference
20 endpoints. All paths are relative to your installation, for example https://app.example.com.
/api/v1/auth/bootstrapWhether the first admin account still needs to be created/api/v1/auth/registerCreate the first admin account (or register when public registration is enabled)/api/v1/auth/loginLog in with email + password (sets session cookie)/api/v1/auth/mfa/verifySecond login step: TOTP or recovery code for an MFA challenge/api/v1/auth/password/forgotEmail a single-use password reset link (same answer whether or not the account exists)/api/v1/auth/password/resetSet a new password with a reset token (signs out all sessions)/api/v1/auth/mfaMy two-factor status/api/v1/auth/mfa/setupStart TOTP setup (secret + QR, not active until confirmed)/api/v1/auth/mfa/enableConfirm TOTP setup with a code; returns recovery codes once/api/v1/auth/mfa/disableTurn off two-factor (password + current code or recovery code)/api/v1/auth/logoutLog out (revokes session). In a "log in as" session this returns the super admin to their own account./api/v1/auth/meCurrent user, CSRF token and workspaces/api/v1/auth/passwordChange password (revokes other sessions)/api/v1/auth/sessionsList my active sessions/api/v1/auth/sessions/{id}Revoke one of my sessions/api/v1/invitations/{token}/acceptAccept a workspace invitation (creates account if needed)/api/v1/auth/signupCreate an account and a new organization (tenant) with its first workspace and trial/api/v1/auth/verify-emailConfirm an email address with the token from the verification email/api/v1/auth/verify-email/resendSend the verification email again/api/v1/auth/impersonation/stopLeave a "log in as" session and return to your own account/api/v1/auth/bootstrapWhether the first admin account still needs to be created
No parameters.
curl -X GET "https://app.example.com/api/v1/auth/bootstrap"/api/v1/auth/registerCreate the first admin account (or register when public registration is enabled)
Request body (JSON)
emailrequired | string (email) |
namerequired | stringLength 1–100 |
passwordrequired | stringLength 8–200 |
workspaceNamerequired | stringLength 2–80 |
curl -X POST "https://app.example.com/api/v1/auth/register" \
-H "Content-Type: application/json" \
-d '{
"email": "name@example.com",
"name": "string",
"password": "string",
"workspaceName": "string"
}'/api/v1/auth/loginLog in with email + password (sets session cookie)
Request body (JSON)
emailrequired | string (email) |
passwordrequired | stringLength 1–200 |
curl -X POST "https://app.example.com/api/v1/auth/login" \
-H "Content-Type: application/json" \
-d '{
"email": "name@example.com",
"password": "string"
}'/api/v1/auth/mfa/verifySecond login step: TOTP or recovery code for an MFA challenge
Request body (JSON)
challengerequired | stringLength 20–200 |
coderequired | stringLength 6–20 |
curl -X POST "https://app.example.com/api/v1/auth/mfa/verify" \
-H "Content-Type: application/json" \
-d '{
"challenge": "string",
"code": "string"
}'/api/v1/auth/password/forgotEmail a single-use password reset link (same answer whether or not the account exists)
Request body (JSON)
emailrequired | string (email) |
curl -X POST "https://app.example.com/api/v1/auth/password/forgot" \
-H "Content-Type: application/json" \
-d '{
"email": "name@example.com"
}'/api/v1/auth/password/resetSet a new password with a reset token (signs out all sessions)
Request body (JSON)
tokenrequired | stringLength 20–200 |
passwordrequired | stringLength 8–200 |
curl -X POST "https://app.example.com/api/v1/auth/password/reset" \
-H "Content-Type: application/json" \
-d '{
"token": "string",
"password": "string"
}'/api/v1/auth/mfaMy two-factor status
No parameters.
curl -X GET "https://app.example.com/api/v1/auth/mfa" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/auth/mfa/setupStart TOTP setup (secret + QR, not active until confirmed)
No parameters.
curl -X POST "https://app.example.com/api/v1/auth/mfa/setup" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/auth/mfa/enableConfirm TOTP setup with a code; returns recovery codes once
Request body (JSON)
coderequired | stringLength 6–6 |
curl -X POST "https://app.example.com/api/v1/auth/mfa/enable" \
-b cookies.txt -H "X-CSRF-Token: $CSRF" \
-H "Content-Type: application/json" \
-d '{
"code": "string"
}'/api/v1/auth/mfa/disableTurn off two-factor (password + current code or recovery code)
Request body (JSON)
passwordrequired | stringLength 1–∞ |
coderequired | stringLength 6–20 |
curl -X POST "https://app.example.com/api/v1/auth/mfa/disable" \
-b cookies.txt -H "X-CSRF-Token: $CSRF" \
-H "Content-Type: application/json" \
-d '{
"password": "string",
"code": "string"
}'/api/v1/auth/logoutLog out (revokes session). In a "log in as" session this returns the super admin to their own account.
No parameters.
curl -X POST "https://app.example.com/api/v1/auth/logout" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/auth/meCurrent user, CSRF token and workspaces
No parameters.
curl -X GET "https://app.example.com/api/v1/auth/me" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/auth/passwordChange password (revokes other sessions)
Request body (JSON)
currentPasswordrequired | string |
newPasswordrequired | stringLength 8–200 |
curl -X POST "https://app.example.com/api/v1/auth/password" \
-b cookies.txt -H "X-CSRF-Token: $CSRF" \
-H "Content-Type: application/json" \
-d '{
"currentPassword": "string",
"newPassword": "string"
}'/api/v1/auth/sessionsList my active sessions
No parameters.
curl -X GET "https://app.example.com/api/v1/auth/sessions" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/auth/sessions/{id}Revoke one of my sessions
Path parameters
idrequired | string |
curl -X DELETE "https://app.example.com/api/v1/auth/sessions/$ID" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/invitations/{token}/acceptAccept a workspace invitation (creates account if needed)
Path parameters
tokenrequired | string |
Request body (JSON)
name | stringLength 0–100 |
password | stringLength 0–200 |
curl -X POST "https://app.example.com/api/v1/invitations/$TOKEN/accept" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"password": "string"
}'/api/v1/auth/signupCreate an account and a new organization (tenant) with its first workspace and trial
Request body (JSON)
namerequired | stringLength 1–100 |
emailrequired | string (email)Length 0–254 |
passwordrequired | stringLength 8–200 |
organizationNamerequired | stringLength 2–80 |
planCode | stringLength 0–40 |
acceptTermsrequired | true |
termsVersion | stringLength 0–40 · Default "2026-11" |
timezone | stringLength 0–60 |
idempotencyKey | stringLength 8–100 |
curl -X POST "https://app.example.com/api/v1/auth/signup" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"email": "name@example.com",
"password": "string",
"organizationName": "string",
"planCode": "string",
"acceptTerms": true,
"termsVersion": "2026-11",
"timezone": "string",
"idempotencyKey": "string"
}'/api/v1/auth/verify-emailConfirm an email address with the token from the verification email
Request body (JSON)
tokenrequired | stringLength 20–200 |
curl -X POST "https://app.example.com/api/v1/auth/verify-email" \
-H "Content-Type: application/json" \
-d '{
"token": "string"
}'/api/v1/auth/verify-email/resendSend the verification email again
No parameters.
curl -X POST "https://app.example.com/api/v1/auth/verify-email/resend" \
-b cookies.txt -H "X-CSRF-Token: $CSRF"/api/v1/auth/impersonation/stopLeave a "log in as" session and return to your own account
No parameters.
curl -X POST "https://app.example.com/api/v1/auth/impersonation/stop"