List A2P SMS Statuses
Retrieves a set of message counts by message status and error codes filtered by dates, batchId and message direction.
Path parameters
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
Query parameters
Internal identifier of a message batch to filter the response
Direction of the SMS message
Direction of a message to filter the message list result. By default, there is no filter applied - both Inbound and Outbound messages are returned
The end of the time range to filter the results in ISO 8601 format including timezone. Default is the 'dateTo' minus 24 hours
The end of the time range to filter the results in ISO 8601 format including timezone. Default is the current time
List of phone numbers (specified in 'to' or 'from' fields of a message) to filter the results. Maximum number of phone numbers allowed to be specified as filters is 15
Response
The statuses of the messages sent by the account filtered by criteria specified in the query
Example response
{
"queued": {
"count": 7
},
"delivered": {
"count": 7
},
"deliveryFailed": {
"count": 7
},
"sent": {
"count": 7
},
"sendingFailed": {
"count": 7
}
}