Skip to main content
GET
/
messages
/
stats
Get message statistics
curl --request GET \
  --url https://api-message.nativehub.live/api/v1/messages/stats \
  --header 'Authorization: Bearer <token>'
{
  "total": 15420,
  "delivered": 14850,
  "failed": 320,
  "pending": 150,
  "queued": 100
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

date_from
string<date>

Start date for statistics

date_to
string<date>

End date for statistics

Response

200 - application/json

Statistics retrieved successfully

total
integer
delivered
integer
failed
integer
pending
integer
queued
integer