Skip to main content
Use these endpoints to manage API keys for scripts, backend jobs, and external automations.

GET /api/v1/api-keys

List all API keys for the authenticated user, including revoked keys.

Example response

This endpoint returns a plain array because each account is limited to 10 API keys. No pagination is needed.

POST /api/v1/api-keys

Create a new API key.

Request body

Rules:
  • name is required
  • Maximum name length is 100 characters
  • Maximum active keys per user is 10

Success response

The key value is returned exactly once. Store it immediately.

Common failure modes

  • 400 Bad Request if name is missing or too long
  • 409 Conflict if you already have 10 active keys

DELETE /api/v1/api-keys/{id}

Revoke one API key by UUID. Current behavior:
  • Success response is 204 No Content
  • Revoked keys stop authenticating immediately
  • Unknown or already revoked IDs return 404 Not Found