Outvexa

API reference

Auth

20 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/auth/bootstrap

Whether the first admin account still needs to be created

No authenticationSuccess: 200

No parameters.

Request
curl -X GET "https://app.example.com/api/v1/auth/bootstrap"

post/api/v1/auth/register

Create the first admin account (or register when public registration is enabled)

No authentication5 requests / 1 h per IPSuccess: 201

Request body (JSON)

emailrequiredstring (email)
namerequiredstringLength 1–100
passwordrequiredstringLength 8–200
workspaceNamerequiredstringLength 2–80
Request
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"
  }'

post/api/v1/auth/login

Log in with email + password (sets session cookie)

No authentication10 requests / 5 min per IPSuccess: 200

Request body (JSON)

emailrequiredstring (email)
passwordrequiredstringLength 1–200
Request
curl -X POST "https://app.example.com/api/v1/auth/login" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "name@example.com",
    "password": "string"
  }'

post/api/v1/auth/mfa/verify

Second login step: TOTP or recovery code for an MFA challenge

No authentication10 requests / 5 min per IPSuccess: 200

Request body (JSON)

challengerequiredstringLength 20–200
coderequiredstringLength 6–20
Request
curl -X POST "https://app.example.com/api/v1/auth/mfa/verify" \
  -H "Content-Type: application/json" \
  -d '{
    "challenge": "string",
    "code": "string"
  }'

post/api/v1/auth/password/forgot

Email a single-use password reset link (same answer whether or not the account exists)

No authentication5 requests / 15 min per IPSuccess: 200

Request body (JSON)

emailrequiredstring (email)
Request
curl -X POST "https://app.example.com/api/v1/auth/password/forgot" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "name@example.com"
  }'

post/api/v1/auth/password/reset

Set a new password with a reset token (signs out all sessions)

No authentication10 requests / 15 min per IPSuccess: 200

Request body (JSON)

tokenrequiredstringLength 20–200
passwordrequiredstringLength 8–200
Request
curl -X POST "https://app.example.com/api/v1/auth/password/reset" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "string",
    "password": "string"
  }'

get/api/v1/auth/mfa

My two-factor status

Signed-in userSuccess: 200

No parameters.

Request
curl -X GET "https://app.example.com/api/v1/auth/mfa" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/auth/mfa/setup

Start TOTP setup (secret + QR, not active until confirmed)

Signed-in user10 requests / 15 min per userSuccess: 200

No parameters.

Request
curl -X POST "https://app.example.com/api/v1/auth/mfa/setup" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/auth/mfa/enable

Confirm TOTP setup with a code; returns recovery codes once

Signed-in user10 requests / 15 min per userSuccess: 200

Request body (JSON)

coderequiredstringLength 6–6
Request
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"
  }'

post/api/v1/auth/mfa/disable

Turn off two-factor (password + current code or recovery code)

Signed-in user5 requests / 15 min per userSuccess: 200

Request body (JSON)

passwordrequiredstringLength 1–∞
coderequiredstringLength 6–20
Request
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"
  }'

post/api/v1/auth/logout

Log out (revokes session). In a "log in as" session this returns the super admin to their own account.

Signed-in userSuccess: 200

No parameters.

Request
curl -X POST "https://app.example.com/api/v1/auth/logout" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

get/api/v1/auth/me

Current user, CSRF token and workspaces

Signed-in userSuccess: 200

No parameters.

Request
curl -X GET "https://app.example.com/api/v1/auth/me" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/auth/password

Change password (revokes other sessions)

Signed-in user5 requests / 15 min per userSuccess: 200

Request body (JSON)

currentPasswordrequiredstring
newPasswordrequiredstringLength 8–200
Request
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"
  }'

get/api/v1/auth/sessions

List my active sessions

Signed-in userSuccess: 200

No parameters.

Request
curl -X GET "https://app.example.com/api/v1/auth/sessions" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

delete/api/v1/auth/sessions/{id}

Revoke one of my sessions

Signed-in userSuccess: 200

Path parameters

idrequiredstring
Request
curl -X DELETE "https://app.example.com/api/v1/auth/sessions/$ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/invitations/{token}/accept

Accept a workspace invitation (creates account if needed)

No authentication10 requests / 10 min per IPSuccess: 200

Path parameters

tokenrequiredstring

Request body (JSON)

namestringLength 0–100
passwordstringLength 0–200
Request
curl -X POST "https://app.example.com/api/v1/invitations/$TOKEN/accept" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "password": "string"
  }'

post/api/v1/auth/signup

Create an account and a new organization (tenant) with its first workspace and trial

No authentication10 requests / 1 h per IPSuccess: 201

Request body (JSON)

namerequiredstringLength 1–100
emailrequiredstring (email)Length 0–254
passwordrequiredstringLength 8–200
organizationNamerequiredstringLength 2–80
planCodestringLength 0–40
acceptTermsrequiredtrue
termsVersionstringLength 0–40 · Default "2026-11"
timezonestringLength 0–60
idempotencyKeystringLength 8–100
Request
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"
  }'

post/api/v1/auth/verify-email

Confirm an email address with the token from the verification email

No authentication20 requests / 15 min per IPSuccess: 200

Request body (JSON)

tokenrequiredstringLength 20–200
Request
curl -X POST "https://app.example.com/api/v1/auth/verify-email" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "string"
  }'

post/api/v1/auth/verify-email/resend

Send the verification email again

Signed-in user3 requests / 15 min per userSuccess: 200

No parameters.

Request
curl -X POST "https://app.example.com/api/v1/auth/verify-email/resend" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/auth/impersonation/stop

Leave a "log in as" session and return to your own account

No authentication60 requests / 5 min per IPSuccess: 200

No parameters.

Request
curl -X POST "https://app.example.com/api/v1/auth/impersonation/stop"