Skip to content

Get Contact History

Tool name: get-contact-history

Reads a contact’s history of subscriptions, tagging, messages, feedback and notes, newest first and cursor-paginated. Entries include time, type, category and app text.

Input schema

contactIdinteger, >= 1required

Numeric contact ID returned by search-contacts

categorynull or string

Only entries of this group of the app's history filter; omit for every entry

Default:null
Enum:"subscription""tagging""miscellaneous""other"
cursornull or string, <= 500 characters

Opaque nextCursor value of the previous page; omit for the first page

Default:null
pageSizeinteger, [ 1 .. 100 ]

Maximum entries on the page, from 1 through 100

Default:50
accountIdnull or integer, >= 1

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

Default:null
Input example
{ "contactId": 1, "category": "subscription", "cursor": null, "pageSize": 50, "accountId": null }

Output schema

accountIdintegerrequired
contactIdintegerrequired
historyUrlstringrequired
countintegerrequired
hasNextPagebooleanrequired
nextCursorstring or nullrequired
entriesArray of objectsrequired
Output example
{ "accountId": 0, "contactId": 0, "historyUrl": "string", "count": 0, "hasNextPage": true, "nextCursor": "string", "entries": [ { "date": "string", "type": "string", "category": "subscription", "text": "string", "referenceId": 0 } ] }