Get contacts activity
Changed onReturns activity records for the messages sent to your contacts over the period you specify. Each record carries a status — <code>DELIVERED</code>, <code>UNDELIVERED</code>, <code>READ</code>, <code>CLICKED</code>, <code>UNSUBSCRIBED</code>, <code>SUBSCRIPTION_CHANGED</code>, or <code>SPAM</code> — the time it happened, and the message and contact it belongs to. For <code>UNDELIVERED</code>, the reason is returned as well.<br/>Use it to bring message statuses, contact actions, and delivery failures into your own system. <a href="https://docs.reteno.com/reference/getting-contact-activity-via-api">Read more...</a>
Request
- Base URLhttps://api.reteno.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Initial date and time of the period you want to get the contact activity for
Final date and time of the period you want to get the contact activity for
Email address
Contact's phone number
Web Push token
Mob Push token
Telegram token
Message tag
Activity status (DELIVERED, UNDELIVERED, READ, UNSUBSCRIBED, CLICKED, SPAM)
Last found contact activity offset in previous search results. It is used to continue search
Max number of activity entries in response
Response
Example response
[
{
"smsParts": 3
}
]Changes
- info
added the optional property
/to the response with the status
- info