List task events
Returns the timeline rows recorded against one task, newest first: a plain array of at most 200 events, with no pagination parameters.
For a one-off task this is its whole history: created (task_created), completed (task_completed, or email_sent when a manual_email task’s email goes out), skipped (task_skipped; a cancellation is a task_skipped with payload.reason deleted), reassigned (task_reassigned), and for a call task the logged call (call_completed). For a task from a sequence it holds only what was recorded against the task itself, such as reassignments: the task’s creation, completion and skip are on the enrollment timeline, GET /v2/sequencer/enrollments/{id}/events, which is paged.
Snoozing and editing are not recorded. Each event’s user is expanded to _id, first_name, last_name and email. A longer history is cut to its 200 most recent events. Counts against the Sequencer reads rate limit.
What you will find
Good to know
- At most 200 events, with no paging. A longer history is cut to the most recent 200.
- Snoozes and edits are not recorded.
- Each event’s
useris expanded to_id,first_name,last_nameandemail.
Authorizations
Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.
Path Parameters
24-character task id.
Response
At most 200 events, newest first. Not paginated.
24-character hexadecimal id.
"507f1f77bcf86cd799439011"
What happened. List enrollment events lists every type and its payload.
When it happened.
Type-specific detail.
ID of your team.
The enrollment the event belongs to. Absent on a one-off task's events, which belong to no sequence.
The task the event is about, when it is about one. Set on events recorded against a task, such as a reassignment; the engine's own task events on an enrollment timeline carry the task ID in payload.task instead.
Who acted, expanded to _id, first_name, last_name and email. Absent for what the engine does on its own, which is most events.
Idempotency key for an event that came from outside Salesfinity, such as a provider webhook. Absent on events Salesfinity generates.
When the event was recorded. Use occurred_at for when it happened.
Equal to created_at: events are never changed.