SMS
SMS Summary
Changed onRetrieve a summary of SMS messages within a certain time range.
post/sms/summary
Request
- Base URLhttps://api.smtp2go.com/v3
- Auth
- API key in header X-Smtp2go-Api-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Summary of SMS activity
Example response
{
"data": {
"total_messages": 123,
"total_units": 156,
"total_cost": 10.456,
"subaccounts": [
{
"subaccount_id": "6xKJ4",
"total_messages": 50,
"total_units": 60,
"total_cost": 5.25
}
]
},
"request_id": "4b661d88-6b2d-11eb-8bb3-f23c92bb31d2"
}Changes
- info
added the optional property
/to the response with the status
- info