POST /api-keys
This endpoint creates a new API key for the authenticated user. The full API key value is only shown once at creation time - make sure to save it securely.Request Body
string
required
A descriptive name for the API key (1-100 characters).
string
A description of what the key will be used for (max 500 characters).
array
A list of permissions to grant to the key. Defaults to all permissions.
string
Optional expiration date in ISO 8601 format.
Response
boolean
Whether the key was created successfully.
string
A status message.
object
The created API key details.
string
A reminder to save the key securely.