API Keys

Get API key send statistics

Returns aggregate send counts and daily volume attributed to an API key between after and before, a window of at most 90 days that defaults to the last 30 days.

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

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/api-keys/{id}/stats
  • Auth: API key in header x-api-key

Path parameters

idstring required

Query parameters

afterstring nullable
beforestring nullable

Response

Success

totalRequestsinteger required
successfulRequestsinteger required
failedRequestsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.