Endpoint
Authorization
Requires an API key withADMIN scope.
Request Body
string[]
required
One or more permission scopes to assign to the new key. Must contain at least one entry; all values must be unique. See the table below for all valid scopes.
Available Scopes
Request Example
The following example creates a payment-processor key that can write transactions and read account information.Response
string
required
Unique identifier (UUID) for the newly created API key.
string
required
The raw API key value, formatted
sk_live_{uuid-no-dashes}. Shown only once. Store this value immediately.string
required
The first 12 characters of
rawKey. Used elsewhere (e.g. in audit logs and List API Keys) to identify the key without exposing its full value.string[]
required
The permission scopes assigned to the key, as provided in the request.
string (datetime)
required
ISO 8601 timestamp of when the key was created.