Get the automated SMS metrics snapshot

Account-wide totals for the SMS sent by automations. With no date parameters the snapshot is all-time; start_date and end_date are strict YYYY-MM-DD in America/Chicago, each applied on its own as a full-day bound. filters[automation_ids][] and filters[name] narrow the snapshot to some automations or block names; limit and offset are ignored. revenue is present only when SMS revenue attribution is enabled for the account. Requires an SMS reporting permission.

Query Params
date

First day of the window, YYYY-MM-DD. Left out, there is no start bound.

date

Last day of the window, YYYY-MM-DD. Left out, there is no end bound.

string

3-letter ISO currency for revenue. Ignored when SMS attribution is disabled.

filters[automation_ids][]
array of integers

Only count these automation ids; repeat the key per id. Non-numeric, zero and duplicate values are dropped.

filters[automation_ids][]
string

Only count SMS blocks whose name contains this text. Blank is ignored.

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