Contents

API reference

Users

API reference descriptions are provided in English to preserve the exact published contract.

List organization users

GET /v1/accounts/{AC}/users

Required scope: `users:read`.

Parameters

Parameters
NameTypeRequiredDescription
limitquery · integer (1–100)
cursorquery · string (max 2048 chars)
ACpath · string (AC… SID)yesAccount SID

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Invite an organization user

POST /v1/accounts/{AC}/users

Required scope: `users:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
Request body (7 fields)
Request body
NameTypeRequiredDescription
displayNamestring (max 128 chars)yes
emailstring (email, max 320 chars)yes
environment"live" | "sandbox" | "both"
inboxSidstring (IB… SID)
rolestring (max 64 chars)yes
scopeKind"ORGANIZATION" | "ACCOUNT" | "SUBACCOUNT" | "INBOX"
stepUpTokenstring (max 256 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Get an organization user

GET /v1/accounts/{AC}/users/{US}

Required scope: `users:read`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
USpath · string (US… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Update an organization user

PATCH /v1/accounts/{AC}/users/{US}

Required scope: `users:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
USpath · string (US… SID)yes
Request body (3 fields)
Request body
NameTypeRequiredDescription
displayNamestring (max 128 chars)
mfaRequiredboolean
status"ACTIVE" | "LOCKED" | "DISABLED"

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Disable an organization user

DELETE /v1/accounts/{AC}/users/{US}

Required scope: `users:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
USpath · string (US… SID)yes
Request body (1 fields)
Request body
NameTypeRequiredDescription
reasonstring (max 1000 chars)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.

Resend an invited member's invitation e-mail

POST /v1/accounts/{AC}/users/{US}/invitation

A2-ROLES-07: for a member still INVITED, issues a fresh invitation link (the previous one stops working) and e-mails it. Grants nothing, so no step-up is asked. Required scope: `users:write`.

Parameters

Parameters
NameTypeRequiredDescription
ACpath · string (AC… SID)yesAccount SID
USpath · string (US… SID)yes

Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.