Outvexa

API reference

Platform

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

get/api/v1/platform/me

My platform role, permissions, whether 2FA is on and whether this install requires it for staff

Platform staffSuccess: 200

No parameters.

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

get/api/v1/platform/users

Find user accounts by email or name

Platform staffPermission tenants:readSuccess: 200

Query parameters

qrequiredstringLength 2–100
pageintegerRange 1–9007199254740991 · Default 1
Request
curl -X GET "https://app.example.com/api/v1/platform/users" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/platform/users/{id}/status

Disable (signs out everywhere) or re-enable a user account; reason required

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

statusrequiredenumOne of: ACTIVE, DISABLED
reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/users/$ID/status" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "ACTIVE",
    "reason": "string"
  }'

get/api/v1/platform/metrics

SaaS metrics: tenants by status, MRR/ARR, churn, plan and usage distribution, operations

Platform staffPermission metrics:readSuccess: 200

No parameters.

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

get/api/v1/platform/tenants

Search and filter tenants

Platform staffPermission tenants:readSuccess: 200

Query parameters

qstringLength 0–100
statusenumOne of: PENDING_SETUP, TRIAL, ACTIVE, PAST_DUE, SUSPENDED, CANCELLED, DELETION_PENDING, DELETED
planstringLength 0–40
pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–100 · Default 25
sortenumOne of: createdAt, name · Default "createdAt"
Request
curl -X GET "https://app.example.com/api/v1/platform/tenants" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/platform/tenants

Create a tenant: organization, first workspace and owner (new owners get a set-password link)

Platform staffPermission tenants:lifecycle60 requests / 1 h per userSuccess: 201

Request body (JSON)

organizationNamerequiredstringLength 2–120
ownerEmailrequiredstring (email)
ownerNamestringLength 0–120
planCodestringLength 0–40
reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "organizationName": "string",
    "ownerEmail": "name@example.com",
    "ownerName": "string",
    "planCode": "string",
    "reason": "string"
  }'

get/api/v1/platform/tenants/{id}

Tenant detail: subscription, usage, workspaces, users, integration status (no secrets), audit

Platform staffPermission tenants:readSuccess: 200

Path parameters

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

post/api/v1/platform/tenants/{id}/lifecycle

Suspend, reactivate, cancel, schedule deletion, restore or purge (reason required)

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

actionrequiredenumOne of: suspend, reactivate, cancel, schedule_deletion, restore, purge_now
reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants/$ID/lifecycle" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "suspend",
    "reason": "string"
  }'

post/api/v1/platform/tenants/{id}/subscription

Override plan, status, trial, grace or entitlements (reason required)

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

planCodestringLength 0–40
statusenumOne of: TRIALING, ACTIVE, PAST_DUE, CANCELED, INCOMPLETE
trialEndsAtany | null
graceUntilany | null
overridesobject
reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants/$ID/subscription" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "planCode": "string",
    "status": "TRIALING",
    "trialEndsAt": null,
    "graceUntil": null,
    "overrides": {},
    "reason": "string"
  }'

post/api/v1/platform/tenants/{id}/refunds

Refund all or part of a paid invoice (optionally cancelling the subscription); idempotent on requestKey

Platform staffPermission billing:refund20 requests / 1 h per userSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

invoiceIdrequiredstring (uuid)
amountCentsintegerRange −∞–9007199254740991
reasonrequiredstringLength 5–500
cancelSubscriptionbooleanDefault false
requestKeyrequiredstring (uuid)
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants/$ID/refunds" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "invoiceId": "00000000-0000-4000-8000-000000000000",
    "amountCents": 1,
    "reason": "string",
    "cancelSubscription": false,
    "requestKey": "00000000-0000-4000-8000-000000000000"
  }'

get/api/v1/platform/tenants/{id}/billing

Invoices, refunds and disputes of a tenant (no payment secrets)

Platform staffPermission billing:readSuccess: 200

Path parameters

idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/platform/tenants/$ID/billing" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

get/api/v1/platform/plans

All plans including archived, with subscriber counts

Platform staffPermission tenants:readSuccess: 200

No parameters.

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

post/api/v1/platform/plans

Create a plan

Platform staffPermission plans:writeSuccess: 201

Request body (JSON)

coderequiredstringPattern ^[a-z0-9-]{2,40}$
namerequiredstringLength 2–60
descriptionstringLength 0–500 · Default ""
priceMonthlyCentsrequiredintegerRange 0–9007199254740991
priceYearlyCentsrequiredintegerRange 0–9007199254740991
currencystringLength 3–3 · Default "USD"
trialDaysintegerRange 0–90 · Default 14
isPublicbooleanDefault true
isActivebooleanDefault true
sortOrderintegerRange -9007199254740991–9007199254740991 · Default 0
providerPriceIdsobjectDefault {}
entitlementsrequiredobject
entitlements.maxUsersrequiredintegerRange 0–9007199254740991
entitlements.maxWorkspacesrequiredintegerRange 1–9007199254740991
entitlements.maxMailboxesrequiredintegerRange 0–9007199254740991
entitlements.maxActiveCampaignsrequiredintegerRange 0–9007199254740991
entitlements.maxLeadsrequiredintegerRange 0–9007199254740991
entitlements.monthlyEmailSendsrequiredintegerRange 0–9007199254740991
entitlements.monthlyAiUsdrequirednumberRange 0–∞
entitlements.monthlyEnrichmentsrequiredintegerRange 0–9007199254740991
entitlements.monthlyApiCallsrequiredintegerRange 0–9007199254740991
entitlements.monthlyWorkflowRunsrequiredintegerRange 0–9007199254740991
entitlements.storageMbrequiredintegerRange 0–9007199254740991
entitlements.apiRequestsPerMinuterequiredintegerRange 1–9007199254740991
entitlements.featuresrequiredobject
entitlements.features.copilotrequiredboolean
entitlements.features.workflowsrequiredboolean
entitlements.features.autoReplyrequiredboolean
entitlements.features.waterfallrequiredboolean
entitlements.features.apiAccessrequiredboolean
entitlements.features.agencyWorkspacesrequiredboolean
entitlements.integrationsrequiredstring[]
entitlements.allowancePeriodenumOne of: monthly, annual_pooled · Default "monthly"
Request
curl -X POST "https://app.example.com/api/v1/platform/plans" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "string",
    "name": "string",
    "description": "",
    "priceMonthlyCents": 0,
    "priceYearlyCents": 0,
    "currency": "USD",
    "trialDays": 14,
    "isPublic": true,
    "isActive": true,
    "sortOrder": 0,
    "providerPriceIds": {},
    "entitlements": {
      "maxUsers": 0,
      "maxWorkspaces": 1,
      "maxMailboxes": 0,
      "maxActiveCampaigns": 0,
      "maxLeads": 0,
      "monthlyEmailSends": 0,
      "monthlyAiUsd": 0,
      "monthlyEnrichments": 0,
      "monthlyApiCalls": 0,
      "monthlyWorkflowRuns": 0,
      "storageMb": 0,
      "apiRequestsPerMinute": 1,
      "features": {
        "copilot": true,
        "workflows": true,
        "autoReply": true,
        "waterfall": true,
        "apiAccess": true,
        "agencyWorkspaces": true
      },
      "integrations": [
        "string"
      ]
    }
  }'

put/api/v1/platform/plans/{id}

Update a plan (prices, limits, features, provider price ids)

Platform staffPermission plans:writeSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

coderequiredstringPattern ^[a-z0-9-]{2,40}$
namerequiredstringLength 2–60
descriptionstringLength 0–500 · Default ""
priceMonthlyCentsrequiredintegerRange 0–9007199254740991
priceYearlyCentsrequiredintegerRange 0–9007199254740991
currencystringLength 3–3 · Default "USD"
trialDaysintegerRange 0–90 · Default 14
isPublicbooleanDefault true
isActivebooleanDefault true
sortOrderintegerRange -9007199254740991–9007199254740991 · Default 0
providerPriceIdsobjectDefault {}
entitlementsrequiredobject
entitlements.maxUsersrequiredintegerRange 0–9007199254740991
entitlements.maxWorkspacesrequiredintegerRange 1–9007199254740991
entitlements.maxMailboxesrequiredintegerRange 0–9007199254740991
entitlements.maxActiveCampaignsrequiredintegerRange 0–9007199254740991
entitlements.maxLeadsrequiredintegerRange 0–9007199254740991
entitlements.monthlyEmailSendsrequiredintegerRange 0–9007199254740991
entitlements.monthlyAiUsdrequirednumberRange 0–∞
entitlements.monthlyEnrichmentsrequiredintegerRange 0–9007199254740991
entitlements.monthlyApiCallsrequiredintegerRange 0–9007199254740991
entitlements.monthlyWorkflowRunsrequiredintegerRange 0–9007199254740991
entitlements.storageMbrequiredintegerRange 0–9007199254740991
entitlements.apiRequestsPerMinuterequiredintegerRange 1–9007199254740991
entitlements.featuresrequiredobject
entitlements.features.copilotrequiredboolean
entitlements.features.workflowsrequiredboolean
entitlements.features.autoReplyrequiredboolean
entitlements.features.waterfallrequiredboolean
entitlements.features.apiAccessrequiredboolean
entitlements.features.agencyWorkspacesrequiredboolean
entitlements.integrationsrequiredstring[]
entitlements.allowancePeriodenumOne of: monthly, annual_pooled · Default "monthly"
Request
curl -X PUT "https://app.example.com/api/v1/platform/plans/$ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "string",
    "name": "string",
    "description": "",
    "priceMonthlyCents": 0,
    "priceYearlyCents": 0,
    "currency": "USD",
    "trialDays": 14,
    "isPublic": true,
    "isActive": true,
    "sortOrder": 0,
    "providerPriceIds": {},
    "entitlements": {
      "maxUsers": 0,
      "maxWorkspaces": 1,
      "maxMailboxes": 0,
      "maxActiveCampaigns": 0,
      "maxLeads": 0,
      "monthlyEmailSends": 0,
      "monthlyAiUsd": 0,
      "monthlyEnrichments": 0,
      "monthlyApiCalls": 0,
      "monthlyWorkflowRuns": 0,
      "storageMb": 0,
      "apiRequestsPerMinute": 1,
      "features": {
        "copilot": true,
        "workflows": true,
        "autoReply": true,
        "waterfall": true,
        "apiAccess": true,
        "agencyWorkspaces": true
      },
      "integrations": [
        "string"
      ]
    }
  }'

post/api/v1/platform/plans/{id}/archive

Archive / unarchive a plan

Platform staffPermission plans:writeSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

archivedrequiredboolean
Request
curl -X POST "https://app.example.com/api/v1/platform/plans/$ID/archive" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "archived": true
  }'

get/api/v1/platform/operations

Queue depths, dead-lettered jobs and failure counters (last 24 h)

Platform staffPermission metrics:readSuccess: 200

No parameters.

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

post/api/v1/platform/operations/retry

Retry one dead-lettered job (reason required, audited)

Platform staffPermission tenants:lifecycleSuccess: 200

Request body (JSON)

queuerequiredstringLength 0–40
jobIdrequiredstringLength 0–200
reasonrequiredstringLength 5–300
Request
curl -X POST "https://app.example.com/api/v1/platform/operations/retry" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "queue": "string",
    "jobId": "string",
    "reason": "string"
  }'

get/api/v1/platform/support/grants

My active support-access grants

Platform staffPermission support:accessSuccess: 200

No parameters.

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

post/api/v1/platform/support/grants

Open time-limited, read-only, audited access to one tenant (reason required)

Platform staffPermission support:accessSuccess: 201

Request body (JSON)

organizationIdrequiredstring (uuid)
reasonrequiredstringLength 10–500
minutesintegerRange 5–240 · Default 60
Request
curl -X POST "https://app.example.com/api/v1/platform/support/grants" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "00000000-0000-4000-8000-000000000000",
    "reason": "string",
    "minutes": 60
  }'

delete/api/v1/platform/support/grants/{id}

End a support-access grant

Platform staffPermission support:accessSuccess: 200

Path parameters

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

get/api/v1/platform/audit

Platform audit trail (append-only)

Platform staffPermission audit:readSuccess: 200

Query parameters

organizationIdstring (uuid)
actionstringLength 0–60
pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–200 · Default 50
Request
curl -X GET "https://app.example.com/api/v1/platform/audit" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

get/api/v1/platform/staff

Platform staff and what each staff role may do

Platform staffPermission staff:manageSuccess: 200

No parameters.

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

post/api/v1/platform/staff

Give an existing account a platform role (reason required)

Platform staffPermission staff:manageSuccess: 200

Request body (JSON)

emailrequiredstring (email)
rolerequiredenumOne of: SUPER_ADMIN, SUPPORT, FINANCE
reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/staff" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "name@example.com",
    "role": "SUPER_ADMIN",
    "reason": "string"
  }'

put/api/v1/platform/staff/{userId}

Change or remove a platform role (not your own; the last super admin stays)

Platform staffPermission staff:manageSuccess: 200

Path parameters

userIdrequiredstring

Request body (JSON)

rolerequiredenum | nullOne of: SUPER_ADMIN, SUPPORT, FINANCE
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/staff/$USER_ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "SUPER_ADMIN",
    "reason": "string"
  }'

get/api/v1/platform/tenants/{id}/members

Members of a tenant with organization and workspace roles

Platform staffPermission tenants:readSuccess: 200

Path parameters

idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/platform/tenants/$ID/members" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

post/api/v1/platform/tenants/{id}/members

Add a person to a tenant (creates the account if needed)

Platform staffPermission tenants:lifecycleSuccess: 201

Path parameters

idrequiredstring

Request body (JSON)

emailrequiredstring (email)
namestringLength 0–120
rolerequiredenumOne of: OWNER, ADMIN, BILLING, MEMBER
workspaceIdstring (uuid) | null
workspaceRoleenumOne of: OWNER, ADMIN, MANAGER, MEMBER, VIEWER · Default "MEMBER"
reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants/$ID/members" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "name@example.com",
    "name": "string",
    "role": "OWNER",
    "workspaceId": "00000000-0000-4000-8000-000000000000",
    "workspaceRole": "MEMBER",
    "reason": "string"
  }'

put/api/v1/platform/tenants/{id}/members/{userId}

Change a member's organization role, including ownership transfer

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring
userIdrequiredstring

Request body (JSON)

rolerequiredenumOne of: OWNER, ADMIN, BILLING, MEMBER
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/tenants/$ID/members/$USER_ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "OWNER",
    "reason": "string"
  }'

post/api/v1/platform/tenants/{id}/members/{userId}/remove

Remove a member from a tenant

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring
userIdrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants/$ID/members/$USER_ID/remove" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'

get/api/v1/platform/tenants/{id}/modules

Plan entitlements, overrides and effective modules/limits of a tenant

Platform staffPermission tenants:readSuccess: 200

Path parameters

idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/platform/tenants/$ID/modules" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

put/api/v1/platform/tenants/{id}/modules

Turn modules on/off and override limits for one tenant (null = inherit plan)

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

featuresrequiredobject
features.copilotrequiredboolean | null
features.workflowsrequiredboolean | null
features.autoReplyrequiredboolean | null
features.waterfallrequiredboolean | null
features.apiAccessrequiredboolean | null
features.agencyWorkspacesrequiredboolean | null
limitsrequiredobject
limits.maxUsersrequirednumber | null
limits.maxWorkspacesrequirednumber | null
limits.maxMailboxesrequirednumber | null
limits.maxActiveCampaignsrequirednumber | null
limits.maxLeadsrequirednumber | null
limits.monthlyEmailSendsrequirednumber | null
limits.monthlyAiUsdrequirednumber | null
limits.monthlyEnrichmentsrequirednumber | null
limits.monthlyApiCallsrequirednumber | null
limits.monthlyWorkflowRunsrequirednumber | null
limits.storageMbrequirednumber | null
limits.apiRequestsPerMinuterequirednumber | null
integrationsrequiredstring[] | null
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/tenants/$ID/modules" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "features": {
      "copilot": true,
      "workflows": true,
      "autoReply": true,
      "waterfall": true,
      "apiAccess": true,
      "agencyWorkspaces": true
    },
    "limits": {
      "maxUsers": 0,
      "maxWorkspaces": 0,
      "maxMailboxes": 0,
      "maxActiveCampaigns": 0,
      "maxLeads": 0,
      "monthlyEmailSends": 0,
      "monthlyAiUsd": 0,
      "monthlyEnrichments": 0,
      "monthlyApiCalls": 0,
      "monthlyWorkflowRuns": 0,
      "storageMb": 0,
      "apiRequestsPerMinute": 0
    },
    "integrations": [
      "string"
    ],
    "reason": "string"
  }'

post/api/v1/platform/users/{id}/password-reset

Issue a password reset link for a user (mailed, or returned once when system mail is off)

Platform staffPermission tenants:lifecycle30 requests / 1 h per userSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/users/$ID/password-reset" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'

get/api/v1/platform/permissions

Permission matrix: workspace roles per module (from the route rules), organization roles, staff roles

Platform staffPermission tenants:readSuccess: 200

No parameters.

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

get/api/v1/platform/settings

Global settings: sign-up mode and announcement banner

Platform staffPermission tenants:readSuccess: 200

No parameters.

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

put/api/v1/platform/settings

Save global settings (reason required)

Platform staffPermission settings:writeSuccess: 200

Request body (JSON)

signupModeenumOne of: env, open, closed
announcementobject
announcement.enabledrequiredboolean
announcement.levelrequiredenumOne of: info, warning, danger
announcement.messagerequiredstringLength 0–500
maintenanceobject
maintenance.enabledrequiredboolean
maintenance.messagerequiredstringLength 0–500
securityobject
security.passwordMinLengthrequiredintegerRange 8–128
security.sessionIdleDaysrequiredintegerRange 1–90
security.requireMfaForAllUsersrequiredboolean
security.impersonationMaxMinutesrequiredintegerRange 5–480
signupsobject
signups.defaultPlanCoderequiredstringLength 0–40
signups.maxOrgsPerUserrequiredinteger | null
brandingobject
branding.appNamerequiredstringLength 2–60
branding.supportEmailrequired"" | string (email)
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/settings" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "signupMode": "env",
    "announcement": {
      "enabled": true,
      "level": "info",
      "message": "string"
    },
    "maintenance": {
      "enabled": true,
      "message": "string"
    },
    "security": {
      "passwordMinLength": 8,
      "sessionIdleDays": 1,
      "requireMfaForAllUsers": true,
      "impersonationMaxMinutes": 5
    },
    "signups": {
      "defaultPlanCode": "string",
      "maxOrgsPerUser": 1
    },
    "branding": {
      "appName": "string",
      "supportEmail": ""
    },
    "reason": "string"
  }'

get/api/v1/platform/users/{id}

Everything about one account: memberships, sessions, API keys, activity and staff actions

Platform staffPermission tenants:readSuccess: 200

Path parameters

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

put/api/v1/platform/users/{id}

Edit name, email, language or email-verified flag (reason required)

Platform staffPermission users:manageSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

namestringLength 1–120
emailstring (email)
localestring | null
emailVerifiedboolean
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/users/$ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "email": "name@example.com",
    "locale": "string",
    "emailVerified": true,
    "reason": "string"
  }'

post/api/v1/platform/users/{id}/mfa-reset

Turn off two-factor for a person who lost their device (signs them out)

Platform staffPermission users:manageSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/users/$ID/mfa-reset" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'

post/api/v1/platform/users/{id}/sessions/revoke

Sign a person out of every browser

Platform staffPermission users:manageSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/users/$ID/sessions/revoke" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'

post/api/v1/platform/sessions/{id}/revoke

End one session of any user

Platform staffPermission users:manageSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
Request
curl -X POST "https://app.example.com/api/v1/platform/sessions/$ID/revoke" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'

put/api/v1/platform/tenants/{id}/profile

Rename an organization or change its time zone (reason required)

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

namestringLength 2–120
timezonestringLength 1–60
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/tenants/$ID/profile" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "timezone": "string",
    "reason": "string"
  }'

put/api/v1/platform/tenants/{id}/workspaces/{workspaceId}

Rename, archive or restore a workspace of a tenant (reason required)

Platform staffPermission tenants:lifecycleSuccess: 200

Path parameters

idrequiredstring
workspaceIdrequiredstring

Request body (JSON)

namestringLength 2–80
archivedboolean
reasonrequiredstringLength 5–500
Request
curl -X PUT "https://app.example.com/api/v1/platform/tenants/$ID/workspaces/$WORKSPACE_ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "archived": true,
    "reason": "string"
  }'

post/api/v1/platform/users/{id}/impersonate

Log in as this user: a time-limited session with full access, every change audited (reason required)

Platform staffPermission impersonate60 requests / 1 h per userSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
minutesintegerRange 5–480
workspaceIdstring (uuid)
Request
curl -X POST "https://app.example.com/api/v1/platform/users/$ID/impersonate" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string",
    "minutes": 5,
    "workspaceId": "00000000-0000-4000-8000-000000000000"
  }'

post/api/v1/platform/tenants/{id}/impersonate

Log in to a tenant as its owner (or the member given in userId)

Platform staffPermission impersonate60 requests / 1 h per userSuccess: 200

Path parameters

idrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
minutesintegerRange 5–480
workspaceIdstring (uuid)
userIdstring (uuid)
Request
curl -X POST "https://app.example.com/api/v1/platform/tenants/$ID/impersonate" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string",
    "minutes": 5,
    "workspaceId": "00000000-0000-4000-8000-000000000000",
    "userId": "00000000-0000-4000-8000-000000000000"
  }'

get/api/v1/platform/impersonations

Open "log in as" sessions

Platform staffPermission impersonateSuccess: 200

No parameters.

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

delete/api/v1/platform/impersonations/{id}

End a "log in as" session

Platform staffPermission impersonateSuccess: 200

Path parameters

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

get/api/v1/platform/data

Every table with record counts, optionally for one tenant or workspace

Platform staffPermission data:readSuccess: 200

Query parameters

organizationIdstring (uuid)
workspaceIdstring (uuid)
countsenumOne of: true, false · Default "true"
Request
curl -X GET "https://app.example.com/api/v1/platform/data" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

get/api/v1/platform/data/{model}

Records of one table: search, filter by column, sort, page (secrets hidden)

Platform staffPermission data:readSuccess: 200

Path parameters

modelrequiredstring

Query parameters

organizationIdstring (uuid)
workspaceIdstring (uuid)
qstringLength 0–200 · Default ""
fieldstringLength 0–60
valuestringLength 0–500
sortstringLength 0–60
direnumOne of: asc, desc · Default "desc"
pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–200 · Default 50
Request
curl -X GET "https://app.example.com/api/v1/platform/data/$MODEL" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

get/api/v1/platform/data/{model}/{recordId}

One record with links to related records (viewing is audited)

Platform staffPermission data:readSuccess: 200

Path parameters

modelrequiredstring
recordIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/platform/data/$MODEL/$RECORD_ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF"

patch/api/v1/platform/data/{model}/{recordId}

Change fields of a record (reason required; before/after audited)

Platform staffPermission data:writeSuccess: 200

Path parameters

modelrequiredstring
recordIdrequiredstring

Request body (JSON)

changesrequiredobject
reasonrequiredstringLength 5–500
Request
curl -X PATCH "https://app.example.com/api/v1/platform/data/$MODEL/$RECORD_ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "changes": {},
    "reason": "string"
  }'

delete/api/v1/platform/data/{model}/{recordId}

Delete a record (reason required; the record is kept in the audit trail)

Platform staffPermission data:writeSuccess: 200

Path parameters

modelrequiredstring
recordIdrequiredstring

Request body (JSON)

reasonrequiredstringLength 5–500
Request
curl -X DELETE "https://app.example.com/api/v1/platform/data/$MODEL/$RECORD_ID" \
  -b cookies.txt -H "X-CSRF-Token: $CSRF" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "string"
  }'