# Webhook event catalogue (https://docs.opensequence.dev/reference/webhook-events)

The webhook event catalogue: when each event fires and what its payload carries.

<Note>This page is generated from `packages/engine/src/domain/shared/events.ts` by `pnpm generate`. Do not edit it by hand; change the source and regenerate.</Note>

`GET /v1/schema/events` returns the same list. Every delivery body has the shape below, five fields and nothing else; the fields in the table are inside `data`. Subscribe to `"*"` or to a list of types when you create an endpoint. See [Receiving webhooks](/docs/webhooks/events).

```json
{
  "id": "evt_01J9…",
  "type": "enrollment.exited",
  "project": "prj_01J9…",
  "occurred_at": "2026-10-13T09:00:00.000Z",
  "data": { "enrollment": { "id": "enr_01J9…", "seq": 7, "...": "..." }, "exit_reason": "replied", "signal": "sig_01J9…" }
}
```

Payload fields are snake_case. `enrollment` in a payload is a summary built for the event (`id`, `sequence`, `version`, `contact`, `sender`, `status`, `mode`, `current_node_id`, `exit_reason`, `pause_reason`, `touch_count`, `replied_at`, `meeting_booked_at`, `enrolled_at`, `finished_at`, `seq`), with `contact` and `sender` as ids; `task` is `id`, `kind`, `title`, `body`, `link`, `opened_at`, `due_at`, `expires_at`, `status`, `outcome`, `dialer`, `enrollment`, `contact`, `sender`. Only `signal.received` carries a `contact` object; every other event names the contact by id through `enrollment.contact` or `task.contact`.

| Event | When | Payload (`data`) |
| --- | --- | --- |
| `enrollment.created` | after a successful enroll, one per contact | `enrollment` (id, sequence, version, contact, sender, status, mode, current_node_id, touch_count, enrolled_at, seq) |
| `enrollment.exited` | an exit by rule (reply, meeting, opt-out, bounce, suppression) or by API | `enrollment`, `exit_reason` (`replied`, `meeting_booked`, `opt_out`, `bounced`, `suppressed`, `manual`, `deleted`), `signal` (the signal id, when one caused it), `label` (manual exits). Two exits carry the enrollment **id** in `enrollment` instead of the object: a contact erased with `DELETE /v1/contacts/\{id\}` adds `contact: \{ id, external_id \}`; a sequence archived with `exit_active` adds `contact: \{ id \}` |
| `enrollment.completed` | an `end` node, an unwired transition, or a task completed with no next step | `enrollment` |
| `enrollment.paused` | a manual pause, an out-of-office reply, or a step that failed with no `failed` transition | `enrollment`, `pause_reason` (`manual`, `ooo`, `step_failed`), `paused_until` |
| `enrollment.resumed` | a manual resume or a pause whose `paused_until` passed | `enrollment`, `pause_reason` (the reason it had), `paused_until: null` |
| `run.done` | an outreach step was sent | `run` (id, node_id, node_type, channel, action, status, touch_number, provider, provider_ref, branch, enrollment), `enrollment`. No subject or body: the journey (`GET /v1/enrollments/\{id\}`) has the message whose `runId` is `run.id` |
| `run.skipped` | a gate refused a step for good (no consent, no phone, suppressed, no channel, country not allowed, no time zone) | `run`, `reason` |
| `run.failed` | a step ran out of retries or was stuck | `run`, `error` |
| `run.needs_review` | the outcome of a send is unknown (an SMS that may or may not have left) | `run`, `error` |
| `task.created` | a `task` or `linkedin_connect` node created a task for the sender | `task` (id, kind, title, body, link, opened_at, due_at, expires_at, status, outcome, dialer, enrollment, contact, sender) |
| `task.expired` | a task reached `expires_at` (the step takes `no_answer`) or was cancelled by an exit | `task` (the id only when expired by the timer; the full task when cancelled by an exit) |
| `signal.received` | any signal was processed: reply, bounce, complaint, opt-out, meeting, call, task completion, client event | `signal` (id, kind, channel, source, occurred_at, attribution, attributed_run), `contact` (id, external_id, email, phone, first_name, last_name). `kind` is one of `reply`, `bounce`, `complaint`, `opt_out`, `ooo`, `task_completed`, `call_connected`, `meeting_booked`, `contact_suppressed`; the schema also declares `sender_channel_status` and `crm_changed`, which nothing records today. The only event that carries `contact` |
| `sender.channel_status` | a channel changed status (`credentials_needed`, `restricted`, back to `active`) | `sender`, `channel`, `status` |
| `endpoint.disabled` | an endpoint failed every delivery for three days, or its secret can no longer be decrypted | `endpoint` (id, url, event_types, status, disabled_reason, disabled_at), `reason` |
