v7

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-01426118.4 KB
Admin Resources

Create Admin API Key

Create a new admin API key.

post/api/admin/v1/admin_api_keys

Request body

namestring

Example request

{
  "name": "Revoker admin key"
}

Response

created

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Admin API key created successfully",
  "admin_api_key": {
    "id": 12,
    "name": "Revoker admin key",
    "token": "hka_3f8e9c2a7b144d6e9a2f1c8b5d3e7f013f8e9c2a7b144d6e9a2f1c8b5d3e7f01",
    "created_at": "2024-03-20T15:30:00Z"
  }
}