Get delivery failures for an automation SMS message grouped by error code

Returns the failed sends of one automation SMS message grouped by carrier or provider error code, with the error source and the number of sends affected. {automationId} is the automation SMS block id (em_sms.id), as used by POST /sms/automations/blocks/metrics, not the automation id. start_date and end_date accept YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. A date alone counts from the start of that day, or to the end of it for end_date. Without them the range is open. A malformed or inverted range is a 400. Requires an SMS reporting permission.

Path Params
integer
required

Automation SMS block id (em_sms.id), not the automation id.

Query Params
string

Start of the range, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. Left out, the range is open at the start.

string

End of the range, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. Left out, the range is open at the end.

Responses

403

Forbidden, you are not authorized to access this resource. Check your API Key

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json