"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"
}
{ "error": { "code": 400, "message": "Invalid request parameters" } }
{ "error": { "code": 401, "message": "Missing Authentication header" } }
{ "error": { "code": 403, "message": "Only management keys can perform this operation" } }
{ "error": { "code": 429, "message": "Rate limit exceeded" } }
{ "error": { "code": 500, "message": "Internal Server Error" } }
API Keys
Create a new API key
Copy page
Copy page
Create a new API key for the authenticated user. The plaintext
key
is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a
management key
. The optional
external
object associates the key with a partner-defined user and lookup key.
