v1

latestOpenAPI 3.0.12026-07-24116117186.3 KB
Behavior tracking

Get contact's message history

The method returns the contact's message history.<br/>Supported media types: Email, SMS, Viber, Mobile Push, Web Push, App Inbox, Telegram.

get/api/v2/contacts/messages

Query parameters

dateFromstring required

The initial date or date and time of the history period. The date/time values are passed in the <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO_8061</a> format.<br> Date format: YYYY-MM-DD<br> Date with time format: YYYY-MM-DDTHH:mm

dateTostring required

The final date or date amd time of the history period. The date/time values are passed in the <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO_8061</a> format.<br> Date format: YYYY-MM-DD<br> Date with time format: YYYY-MM-DDTHH:mm

emailstring

Contact's email address (either contactId, or externalCustomerId, or email, or phone number must be specified)

phonestring

Contact's phone number (either contactId, or externalCustomerId, or email, or phone number must be specified)

contactIdinteger

Contact ID number (either contactId, or externalCustomerId, or email, or phone number must be specified)

externalCustomerIdstring

External Customer ID (either contactId, or externalCustomerId, or email, or phone number must be specified)

channelTypesstring

Comma separated list of user messages channel types that will be included to the response.

offsetinteger

Offset from the first item. For pagination purposes

maxrowsinteger

Max number of items in the response. Default value is 10. Maximum value is 100