Skip to content

Read Automation SMS Statistics

Tool name: get-automation-sms-statistics

Reads lifetime statistics for an automation SMS: sends, recipient clicks, bounces and tracked-link clicks across all uses. SMS has no open rate; clickRateOfRecipients is clicks per recipient. Unsent messages have zero counts. Use the SMS ID, not an automation action ID.

Input schema

smsIdinteger, >= 1required

ID of the automation SMS whose statistics are read; this is not an automation action ID

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "smsId": 1, "accountId": null }

Output schema

smsIdintegerrequired
namestringrequired
sentintegerrequired
clickedintegerrequired
notClickedintegerrequired
clickRateOfRecipientsnumberrequired
bouncesintegerrequired
statisticsUrlstringrequired
Output example
{ "smsId": 0, "name": "string", "sent": 0, "clicked": 0, "notClicked": 0, "clickRateOfRecipients": 0, "bounces": 0, "links": [ { "url": "string", "clicksTotal": 0, "clicksUnique": 0 } ], "statisticsUrl": "string" }