Create scoped API key
POST/api/keys
x-audience: "session"
Browser session only, signed-in account. name is 1–80 trimmed characters. scopes is a nonempty unique array of available scope identifiers. token is returned once. Store securely.
Request
Responses
- 201
- 400
- 401
- 403
- 429
- 503
Success
Invalid name or scope selection.
Missing, invalid or revoked credentials.
Required scope or account access missing.
Shared client-IP or account request allowance exhausted. Retry after the indicated number of seconds. Browser authentication errors can use a different response format.
Response Headers
Cache-Control
no-store
Retry-After
Seconds to wait before retrying.
Request limiting cannot be enforced. Retry later with backoff.
Response Headers
Cache-Control
no-store