πŸ”‘ Manage API Keys (Admin Only)

Create a New API Key

πŸ”Ή Request

POST /api/admin/api-keys
Host: https://autonome.alt.technology/chatcx-itferc
x-api-key: YOUR_ADMIN_KEY
Content-Type: application/json
{
  "role": "app",
  "username": "wei_b0",
}

πŸ”Ή Response

{
  "success": true,
  "apiKey": "api_123456abcd",
  "role": "app"
}

Last updated