API Keys
Manage the API keys used to authenticate requests to the IndReelForge API.
List API Keys
GET https://api.indreelforge.com/api/api-keys
Returns all API keys for the authenticated account. Key values are never returned after creation — only the prefix and metadata are shown.
curl \
-H 'Authorization: Apikey YOUR_API_KEY' \
https://api.indreelforge.com/api/api-keys
Response
{
"status": "success",
"data": [
{
"id": 1,
"name": "Production Key",
"prefix": "irfk_a1b2",
"created_at": "2025-01-01T00:00:00.000Z",
"last_used_at": "2025-06-01T08:23:11.000Z"
}
]
}
Create API Key
POST https://api.indreelforge.com/api/api-keys
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Descriptive label for this key |
curl \
-H 'Authorization: Apikey YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"name": "My Integration Key"}' \
-X POST https://api.indreelforge.com/api/api-keys
Response
{
"status": "success",
"data": {
"id": 2,
"name": "My Integration Key",
"key": "irfk_a1b2c3d4e5f6g7h8i9j0..."
}
}
danger
The full API key is shown only once. Copy and store it securely — you cannot retrieve it again.
Delete API Key
DELETE https://api.indreelforge.com/api/api-keys/:id
Permanently revokes an API key. Any integrations using this key will immediately lose access.
curl \
-H 'Authorization: Apikey YOUR_API_KEY' \
-X DELETE https://api.indreelforge.com/api/api-keys/2
Response
{
"status": "success",
"message": "API key revoked"
}