Get the authenticated account
GET /v1/accounts/{AC}
Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
API reference descriptions are provided in English to preserve the exact published contract.
GET /v1/accounts/{AC}
Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
PATCH /v1/accounts/{AC}
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
autoReadReceipts | boolean | ||
consentPolicy | "STRICT" | "STANDARD" | ||
displayName | string (max 128 chars) | ||
homeRegion | string (pattern ^[a-z0-9][a-z0-9-]*$, max 64 chars) | ||
reason | string (max 2000 chars) | yes | |
timezone | string (max 64 chars) | null | IANA time zone the account schedules in (for example Africa/Lagos). null returns to the zone of the organization's country. |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/api-versions
The version registry: known dates, their status and their end-of-support dates, together with this account's default and the version this request resolved to. Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
PATCH /v1/accounts/{AC}/api-versions/default
: the per-account default a request without `ShipMessages-Version` resolves to. `null` restores the platform default. A sunset or unknown date is refused. Required scope: any one of `accounts:write`, `api_keys:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
version | string (pattern ^\d{4}-\d{2}-\d{2}$) | null | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/close
Required scope: `organization:delete`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
caseRef | string (max 128 chars) | yes | |
confirmation | string (max 28 chars) | yes | |
reason | string (max 2000 chars) | yes | |
stepUpToken | string (max 256 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/organization
Required scope: `users:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | query · integer (1–100) | ||
cursor | query · string (max 2048 chars) | ||
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
PATCH /v1/accounts/{AC}/organization
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
country | string (pattern ^[A-Z]{2}$) | ||
defaultCurrency | string (pattern ^[A-Z]{3}$) | ||
displayName | string (max 128 chars) | ||
legalName | string (max 200 chars) | ||
reason | string (max 2000 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/organization/accounts
Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | query · integer (1–100) | ||
cursor | query · string (max 2048 chars) | ||
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/organization/accounts
Required scope: `organization:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
displayName | string (max 128 chars) | yes | |
homeRegion | string (pattern ^[a-z0-9][a-z0-9-]*$, max 64 chars) | yes | |
reason | string (max 2000 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/organization/close
Required scope: `organization:delete`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
caseRef | string (max 128 chars) | yes | |
confirmation | string (max 28 chars) | yes | |
reason | string (max 2000 chars) | yes | |
stepUpToken | string (max 256 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/security/customer-kms
Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/security/customer-kms
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
address | string (max 500 chars) | yes | |
approvalSid | string (AP… SID) | yes | |
mount | string (max 128 chars) | yes | |
namespace | string (max 128 chars) | ||
provider | "CUSTOMER_OPENBAO_TRANSIT" | yes | |
stepUpToken | string (max 256 chars) | yes | |
tokenSecretRef | string (max 500 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/security/customer-kms/activate
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
approvalSid | string (AP… SID) | yes | |
stepUpToken | string (max 256 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/security/customer-kms/start
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
approvalSid | string (AP… SID) | yes | |
stepUpToken | string (max 256 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/security/keys
Required scope: `audit:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/security/keys/rotate
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
approvalSid | string (AP… SID) | yes | |
caseRef | string (max 128 chars) | ||
reason | string (max 2000 chars) | yes | |
stepUpToken | string (max 256 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/subaccounts
Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | query · integer (1–100) | ||
cursor | query · string (max 2048 chars) | ||
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
POST /v1/accounts/{AC}/subaccounts
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
| Name | Type | Required | Description |
|---|---|---|---|
displayName | string (max 128 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/accounts/{AC}/subaccounts/{SA}
Required scope: `accounts:read`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
SA | path · string (SA… SID) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
PATCH /v1/accounts/{AC}/subaccounts/{SA}
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
SA | path · string (SA… SID) | yes |
| Name | Type | Required | Description |
|---|---|---|---|
displayName | string (max 128 chars) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
DELETE /v1/accounts/{AC}/subaccounts/{SA}
Required scope: `accounts:write`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
AC | path · string (AC… SID) | yes | Account SID |
SA | path · string (SA… SID) | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/changelog
Every known API date version with its release, deprecation and end-of-support dates, newest first. The same entries are published as RSS 2.0 at `/v1/changelog.rss`.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | query · integer (1–100) | ||
cursor | query · string (max 2048 chars) |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
GET /v1/changelog.rss
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.