get_contact_activity
Return one contact's engagement history: goals they achieved and buttons they clicked, newest first, plus all-time goal totals. Read-only. This is the per-contact companion to get_broadcast_analytics (which is aggregate). Clicks are inline/menu button presses inside the bot — typed replies, commands and website visits never appear. Goals and clicks are capped separately by limit; goalsTruncated/clicksTruncated say when older events exist. Call list_contacts first to find the contactId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows per stream (goals, clicks, flowRuns are capped independently), 1-100. Defaults to 20. | |
| endDate | No | Only events at or before this time, same format as startDate. Omit for "up to now". | |
| contactId | Yes | Required. Contact id, as returned by list_contacts or send_message. | |
| startDate | No | Only events at or after this time, as a date string parsable by Date (ISO 8601 such as "2026-08-01" or "2026-08-01T00:00:00Z" is safest). Omit for the whole history. An unparsable value is rejected, never ignored. | |
| applicationId | No | Application (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id. | |
| includeFlowRuns | No | Also return this contact's raw flow execution log (what the bot actually ran, with errors) — the Logs tab rows, useful when analytics look wrong. Requires the view_logs permission on top of view. Defaults to false. |