Skip to main content

GET /api-keys

Returns all API keys for your account. The full key secret is never returned — only the prefix for identification.

Authentication

JWT (Dashboard)

Response

{
  "success": true,
  "data": {
    "apiKeys": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "key_name": "Production",
        "key_prefix": "snd_abc123",
        "domain_id": "...",
        "permissions": ["send"],
        "last_used_at": "2026-03-07T11:30:00Z",
        "created_at": "2026-03-01T10:00:00Z"
      }
    ]
  }
}