REST API: Get message volumes

Returns the number of messages sent or received by the account for the given date range.

Request example for sent message


curl -X GET --header 'Accept: application/json' --header 'Authorization: Your API key' 'https://platform.clickatell.com/public-client/messages/count?from=MM-DD-YYYY&to=MM-DD-YYYY '

Request example for received messages


curl -X GET --header 'Accept: application/json' --header 'Authorization: Your API key' 'https://platform.clickatell.com/public-client/reply-messages/count?from=MM-DD-YYYY&to=MM-DD-YYYY '

Authorization should contain your unique API key. Dates should be in format MM-DD-YYYY

Response example


{
  "count": 1978
}