Create 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.
Authorizations
API key. Create and manage keys at /v4/account/api-keys or in the dashboard.
Body
Human-readable label for the key.
100List of permission strings. Use GET /v4/account/api-keys/allowed-permissions to see what your account can grant.
1Subaccount UUIDs this key can act on. Empty array means all subaccounts.
IP addresses or CIDR ranges allowed to use this key. Empty array means no IP restriction.
Unix timestamp for key expiry. Must be in the future. Omit or null for no expiry.