v1
latestOpenAPI 3.0.22026-07-26128245430.3 KBAPI Keys
Create a scoped API key
Create a new API key restricted to a subset of scopes. The returned value is the only opportunity to retrieve the plaintext secret — store it securely. This endpoint does not accept an Idempotency-Key header; each call creates a new key.
Callers may only grant scopes they themselves hold (scope subsetting). Unrestricted keys may create scoped keys; scoped keys need the api_key:create scope. Up to 500 scoped keys may exist per developer.
post/api_keys
Request body
Response
The API key was created. value is returned exactly once.
Example response
{
"value": "sk-live-0123456789abcdef0123456789ab9f2c"
}