Skip to main content

Create a new API key for the current tenant

POST 

/api/v1/keys

Generates a new scoped API key and returns it once in plaintext. The raw token is unrecoverable after this response — store it securely. The capabilities set governs what the key may do; an empty set mints a publisher/widget key. expiresAt is optional (omit for no expiry).

Request

Responses

Default Response