ApiKey
Create an API key
Create an API key for the current user; the secret is returned only once.
post/api/key/
Query parameters
cookie_namestring nullable
Request body
Example request
{
"name": "CI pipeline",
"description": "Key used by the nightly data-sync job."
}Response
Successful Response
Example response
{
"key": "ak.a1b2c3d4.s3cr3t-value",
"key_id": "a1b2c3d4",
"expires_at": "2026-12-31T23:59:59Z"
}