Dashboard

API Keys

Create, list, and manage your API keys.

List API Keys

GET /api/v1/api-keys

Response:

{
  "success": true,
  "data": [
    {
      "id": "key_abc123",
      "name": "Production",
      "key": "sk_live_...",
      "createdAt": "2025-01-15T10:00:00Z",
      "lastUsedAt": "2025-01-20T15:30:00Z"
    }
  ]
}

Create API Key

POST /api/v1/api-keys
Content-Type: application/json

{
  "name": "My API Key"
}

Response:

{
  "success": true,
  "data": {
    "id": "key_abc123",
    "name": "My API Key",
    "key": "sk_live_..."
  }
}

The full API key is only shown once at creation time. Store it securely.

Delete API Key

DELETE /api/v1/api-keys/:id

Response:

{
  "success": true
}