WoyraDocs
Get an API key

Daily series and the route view

GET/v1/console/analytics

Console · Requires an API key

Per-day counts by channel, and per-carrier delivery with the reasons WRI chose each carrier — so a customer can see their traffic moved because of conversion, not cost. Requires messages:read.

Parameters

NameInDescription
daysquery

Example

curl https://api.woyra.io/v1/console/analytics \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 The series.

FieldTypeDescription
object"analytics"
daysinteger
seriesarray of object
series.datestring
series.channelstring
series.acceptedinteger
series.deliveredinteger
series.failedinteger
series.cost_microsinteger
routesarray of objectThe route view — per carrier and channel.
routes.carrierstring
routes.channelstring
routes.attemptsinteger
routes.deliveredinteger
routes.failedinteger
routes.cost_microsinteger
routes.delivery_ratenumber
routes.reasonsobjectHow many messages WRI sent this way for each reason.

Also in Console