ApiKeys

Get API key send statistics

Returns aggregate send counts and daily volume attributed to an API key over the selected period of 7, 30, or 90 days.

GET
/v1/api-keys/{id}/stats

Returns aggregate send counts and daily volume attributed to an API key over the selected period of 7, 30, or 90 days.

x-api-key<token>

In: header

Path Parameters

id*string
Match^key_[0-9a-hjkmnp-tv-z]{16,24}$

Query Parameters

period?|null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/api-keys/string/stats"
{  "totalRequests": 0,  "successfulRequests": 0,  "failedRequests": 0,  "dailyVolume": [    {      "date": "string",      "requests": 0    }  ]}

Related