API ReferenceAPI Keys
Create API Key
Create a new API key
Create API Key
Generates a new API key for programmatic access.
-
name(string) (required) — A descriptive name for the key -
ipWhitelist(string[]) — Optional list of allowed IP addresses
curl -X POST https://api.hermes.camie.ai/api/keys \
-H "Authorization: Bearer your_jwt_token" \
-H "Content-Type: application/json" \
-d '{ "name": "Production Key" }'Response
{
"success": true,
"data": {
"id": "key-uuid",
"name": "Production Key",
"key": "hermes_a1b2c3d4e5f6...",
"createdAt": "2026-03-14T17:00:00.000Z"
}
}⚠️ Warning: The full API key is only shown once in the response. Store it securely — it cannot be retrieved later.