The Only API docs
API Keys

Per-key usage detail

30/90-day usage series, month and all-time totals, last-used timestamp, and this month's endpoint breakdown for one key.

GET
/api-keys/{key_id}/usage

30/90-day usage series, month and all-time totals, last-used timestamp, and this month's endpoint breakdown for one key.

Guide: Get an API key

X-API-Key<token>

Your CRM panel API key

In: header

Path Parameters

key_id*integer

Query Parameters

days?integer
Range1 <= value <= 90
Default30

Response Body

application/json

curl -X GET "https://example.com/api-keys/0/usage"
{  "success": true,  "key": {},  "totals": {},  "series": [    {}  ],  "breakdown": [    {}  ]}