API Keys
Create and manage API keys.
Create an API Key
POST /auth/api-keysRequest Body
{
"name": "Production Key"
}Response
{
"id": "key_abc123",
"key": "zsk_live_abc123xyz...",
"name": "Production Key",
"created_at": "2024-01-15T10:30:00Z"
}The full API key is only shown once. Store it securely.
List API Keys
GET /auth/api-keysResponse
[
{
"id": "key_abc123",
"name": "Production Key",
"last_used": "2024-01-15T12:00:00Z",
"created_at": "2024-01-15T10:30:00Z"
}
]Revoke an API Key
DELETE /auth/api-keys/{key_id}