v1
latestOpenAPI 3.0.32026-07-2246176.0 KBCreate API key
Create a new API key with a name, permissions, and optional scopes (allowed_subaccounts, allowed_ips, expires_at). The full 64-character token is returned only once in this response — store it securely. Permission: account:apikeys:create.
post/v4/account/api-keys
Request body
Response
Created API key. The data.token field contains the 64-character secret — store it securely, it is only shown once.
Example response
{
"message": "API key created successfully",
"warning": "This token will only be shown once. Please copy it now."
}