Analytics

Get message volume analytics

Returns outbound message counts over the half-open selected instant range, grouped by organization-local calendar day, week, or month. A range with traffic returns every bucket in it, including the ones that saw none; a range with no outbound traffic at all returns no buckets. A range with no before runs through the current instant, so its quiet trailing buckets are reported as zero.

get/v1/analytics/stats

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/analytics/stats
  • Auth: API key in header x-api-key

Query parameters

afterstring nullable
beforestring nullable
groupBy'day' | 'week' | 'month' nullable
channel'email' nullable

Response

Success

Changes

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