Create an API key
API Keys
Create an API key
Dashboard-only — session cookie auth. The plaintext key is returned exactly once in this response; only its prefix and metadata are retrievable afterward. Store it immediately.
POST
Create an API key
Authorizations
HttpOnly session cookie set on login. Used by the scrnshot dashboard
only — /v1/keys and /v1/billing/* are not part of the
programmatic API and cannot be called with an API key.
Body
application/json
Optional label for the key.
Example:
"production"
Response
Created
Plaintext API key. Shown only in this response — store it now.
Example:
"sk_live_9f2b1c7a4e6d8f0a1b2c3d4e5f6a7b8c"
First segment of the key, safe to display after creation.
Example:
"sk_live_9f2b"