Admin API

The admin key making the request: its scopes, expiry and organization.

Headers

Bearer <admin key>.
x-admin-key string
The admin key, if you can’t send Authorization.
api-version string
Pins the response format, one of 2026-11-12.

Responses

200 Successful Response
object "admin_key"
Default: "admin_key"
id string required
name string required
scopes string[] required
status enum<string> required
Available options: activeinactivedeactivated
expires_at string nullable required
organization object required
organization.name string required
401 Unauthorized
type string
Always ErrorResponse.
Default: "ErrorResponse"
error object required
error.id string required
A unique identifier for this particular occurrence of the problem.
error.status integer required
The HTTP status code applicable to this problem.
error.detail string nullable
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
error.meta object nullable
A meta object containing non-standard meta-information about the error.
error.code enum<string> required
An Admin API error code, such as ADMIN_KEY_INVALID or ADMIN_RATE_LIMITED.
Available options: VALIDATIONINVALID_TIME_RANGEAPI_VERSION_NOT_FOUND
time integer
Unix time in seconds when the error occurred.
Default: 0
403 Forbidden
type string
Always ErrorResponse.
Default: "ErrorResponse"
error object required
error.id string required
A unique identifier for this particular occurrence of the problem.
error.status integer required
The HTTP status code applicable to this problem.
error.detail string nullable
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
error.meta object nullable
A meta object containing non-standard meta-information about the error.
error.code enum<string> required
An Admin API error code, such as ADMIN_KEY_INVALID or ADMIN_RATE_LIMITED.
Available options: VALIDATIONINVALID_TIME_RANGEAPI_VERSION_NOT_FOUND
time integer
Unix time in seconds when the error occurred.
Default: 0
404 Not Found
type string
Always ErrorResponse.
Default: "ErrorResponse"
error object required
error.id string required
A unique identifier for this particular occurrence of the problem.
error.status integer required
The HTTP status code applicable to this problem.
error.detail string nullable
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
error.meta object nullable
A meta object containing non-standard meta-information about the error.
error.code enum<string> required
An Admin API error code, such as ADMIN_KEY_INVALID or ADMIN_RATE_LIMITED.
Available options: VALIDATIONINVALID_TIME_RANGEAPI_VERSION_NOT_FOUND
time integer
Unix time in seconds when the error occurred.
Default: 0
422 Unprocessable Entity
type string
Always ErrorResponse.
Default: "ErrorResponse"
error object required
error.id string required
A unique identifier for this particular occurrence of the problem.
error.status integer required
The HTTP status code applicable to this problem.
error.detail string nullable
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
error.meta object nullable
A meta object containing non-standard meta-information about the error.
error.code enum<string> required
An Admin API error code, such as ADMIN_KEY_INVALID or ADMIN_RATE_LIMITED.
Available options: VALIDATIONINVALID_TIME_RANGEAPI_VERSION_NOT_FOUND
time integer
Unix time in seconds when the error occurred.
Default: 0
429 Too Many Requests
type string
Always ErrorResponse.
Default: "ErrorResponse"
error object required
error.id string required
A unique identifier for this particular occurrence of the problem.
error.status integer required
The HTTP status code applicable to this problem.
error.detail string nullable
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
error.meta object nullable
A meta object containing non-standard meta-information about the error.
error.code enum<string> required
An Admin API error code, such as ADMIN_KEY_INVALID or ADMIN_RATE_LIMITED.
Available options: VALIDATIONINVALID_TIME_RANGEAPI_VERSION_NOT_FOUND
time integer
Unix time in seconds when the error occurred.
Default: 0
503 Service Unavailable
type string
Always ErrorResponse.
Default: "ErrorResponse"
error object required
error.id string required
A unique identifier for this particular occurrence of the problem.
error.status integer required
The HTTP status code applicable to this problem.
error.detail string nullable
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
error.meta object nullable
A meta object containing non-standard meta-information about the error.
error.code enum<string> required
An Admin API error code, such as ADMIN_KEY_INVALID or ADMIN_RATE_LIMITED.
Available options: VALIDATIONINVALID_TIME_RANGEAPI_VERSION_NOT_FOUND
time integer
Unix time in seconds when the error occurred.
Default: 0