# Webhook events

Source: https://kirora.io/docs/api/reference/webhooks

Keep your systems updated with 16 event types. Subscribe an HTTPS endpoint to the events you need; `journey.action_reached` and `webhook.test` arrive without a subscription. Deliveries are signed, with retries on failure; the [webhooks guide](https://kirora.io/docs/api/webhooks) shows how to verify the signature.

## Headers

Every delivery carries these headers:

- `X-Webhook-Signature` (string, required) — One `sha256=` HMAC per signing secret, comma-separated: of `{timestamp}.{body}`.
- `X-Webhook-Timestamp` (string, required) — Unix seconds the delivery was signed at; refuse one outside your tolerance.
- `X-Webhook-Event` (string, required) — The event type, as `eventType` in the body.
- `X-Webhook-Event-Id` (string, required) — The event id, as `eventId` in the body; the same on every retry.
- `X-Webhook-Attempt` (string, required) — Which attempt this is, starting at 1.

## `contact.created`

A contact is created, by any route. Reconcile with `GET /v1/contacts/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("contact.created", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `contact` (Contact, required)
    - `id` (string, required, uuid)
    - `externalId` (string | null, required) — Your own id for the contact, if set.
    - `email` (string | null, required, email)
    - `firstName` (string | null, required)
    - `lastName` (string | null, required)
    - `phone` (string | null, required) — Phone number in E.164 format.
    - `timezone` (string | null, required) — IANA timezone, e.g. `Europe/London`.
    - `country` (string | null, required) — ISO 3166-1 alpha-2 code: as written, or inferred from the phone, else the timezone.
    - `locale` (string | null, required) — BCP 47 tag (`fr`, `fr-CA`): the language the contact reads (its first subtag), and how merge tags format numbers, dates and money for them.
    - `rfm` (object | null, required) — The contact's RFM (recency, frequency and monetary value) group among the workspace's customers, from its purchase events (the workspace's `purchaseEvent`: an order, a paid invoice, a donation), each score from 1 to 5 (a fifth of the customers each; 5 is the most recent, most frequent or highest spend), and their purchase totals. Spend counts only purchases in the workspace's main currency; when the purchase carries no amount, `monetary` follows frequency. Recomputed daily, so a purchase today shows tomorrow; `null` for someone who has never purchased.
      - `group` (string, required, one of `champions`, `loyal`, `cant_lose_them`, `potential_loyalists`, `new_customers`, `need_attention`, `about_to_sleep`, `at_risk`, `hibernating`, `lost`)
      - `recency` (integer, required, min 1, max 5)
      - `frequency` (integer, required, min 1, max 5)
      - `monetary` (integer, required, min 1, max 5)
      - `purchaseCount` (integer, required, min > 0) — Their purchase events (the workspace's `purchaseEvent`), in any currency.
      - `totalSpent` (object | null, required) — What their purchases' amounts (`purchaseValueProperty`) add up to, in the workspace's main currency (`currency` on `GET /v1/reports/rfm`); purchases in other currencies and refunds are left out. `null` when the purchase carries no amount.
        - `currency` (string | null, required) — The currency, an ISO 4217 code; null when none was named.
        - `value` (number, required) — The amount in that currency.
      - `lastPurchasedAt` (string, required, date-time) — When their latest purchase happened.
    - `purchaseCycle` (object | null, required)
      - `pattern` (string, required, one of `regular`, `not_enough_history`, `irregular`) — `regular`: their usual time between purchases is known; `not_enough_history`: fewer than 4 purchase days; `irregular`: no regular pattern. Only a regular buyer is ever overdue.
      - `usualDaysBetweenPurchases` (number | null, required) — The median number of days between purchase days; null unless `regular`.
      - `lastPurchasedOn` (string, required, date) — The last purchase day, in UTC.
      - `expectedNextPurchaseOn` (string | null, required, date) — The last purchase day plus the usual time between purchases; null unless `regular`.
      - `daysSinceLastPurchase` (integer, required)
      - `overdueRatio` (number | null, required) — Days since the last purchase over the usual time between purchases: 1 is due today, 1.5 half a cycle late. Null unless `regular`.
      - `cycleStatus` (string | null, required, one of `on_track`, `overdue`, `lapsed`, `dormant`) — `overdue` from 1.5× the usual time between purchases, `lapsed` from 2×, `dormant` from 3×, else `on_track`; null unless `regular`.
      - `reason` (string, required) — Why, in plain words: "Usually transacts every 30 days; it's been 52."
    - `predictedValue` (object | null, required) — What a model of the workspace's customers (BG/NBD and Gamma-Gamma, as Klaviyo uses) predicts of this contact over the next year, from their transaction days of the purchase event and spend; worked out daily. Needs 500 customers, 180 days of transactions and 20 customers with three or more transaction days. `null` for someone who never transacted, and on plans that do not include Kiro.
      - One of: **With horizonDays, transactions, probabilityActive, spend and lifetimeValue**
        - `status` ("predicted", required)
        - `horizonDays` (integer, required) — The window predicted: 365 days from today.
        - `transactions` (number, required) — Transaction days expected in the window, to one decimal.
        - `probabilityActive` (number, required) — The chance they are still a customer rather than gone quietly, 0 to 1: falls as the time since their last transaction grows beyond their usual gap.
        - `spend` (object | null, required) — Predicted lifetime value: what they are expected to spend in the window (Klaviyo calls it predicted CLV). Null when transactions carry no amount.
        - `lifetimeValue` (object | null, required) — `rfm.totalSpent` plus `spend`: spent so far and expected (total CLV).
      - One of: **Option 2**
        - `status` ("not_enough_data", required) — The workspace's history is too short to predict from; `prediction.reason` on `GET /v1/reports/rfm` says what is missing.
    - `dates` (map<string, string>, required) — Named calendar dates, e.g. `birthday`, as `YYYY-MM-DD` or `--MM-DD`.
    - `attributes` (map<string, object>, required) — Custom attributes, keyed by attribute name.
    - `consent` (ContactConsent, required) — Consent on each channel.
      - `email` (boolean, required) — Whether the contact has consented to email.
      - `push` (boolean, required) — Whether the contact has consented to push.
    - `createdAt` (string, required, date-time)
    - `updatedAt` (string, required, date-time)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "contact.created",
  "occurredAt": "2026-10-01T09:30:00.000Z",
  "data": {
    "contact": {
      "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
      "externalId": "customer-4821",
      "email": "olivia@example.com",
      "firstName": "Olivia",
      "lastName": "Bennett",
      "phone": "+447700900123",
      "timezone": "Europe/London",
      "country": "GB",
      "locale": "en-NG",
      "rfm": {
        "group": "loyal",
        "recency": 3,
        "frequency": 4,
        "monetary": 5,
        "purchaseCount": 6,
        "totalSpent": {
          "currency": "USD",
          "value": 412.5
        },
        "lastPurchasedAt": "2026-03-02T18:20:00.000Z"
      },
      "purchaseCycle": {
        "pattern": "regular",
        "usualDaysBetweenPurchases": 30,
        "lastPurchasedOn": "2026-03-02",
        "expectedNextPurchaseOn": "2026-04-01",
        "daysSinceLastPurchase": 52,
        "overdueRatio": 1.73,
        "cycleStatus": "overdue",
        "reason": "Usually transacts every 30 days; it's been 52."
      },
      "predictedValue": {
        "status": "predicted",
        "horizonDays": 365,
        "transactions": 4.2,
        "probabilityActive": 0.61,
        "spend": {
          "currency": "USD",
          "value": 289
        },
        "lifetimeValue": {
          "currency": "USD",
          "value": 702
        }
      },
      "dates": {
        "birthday": "1992-03-14"
      },
      "attributes": {
        "plan": "pro",
        "favourite_spice": "smoked paprika",
        "orders": 3
      },
      "consent": {
        "email": true,
        "push": false
      },
      "createdAt": "2026-09-12T08:15:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z"
    }
  }
}
```

## `contact.unsubscribed`

A recipient opted out through an email's link; `contact` is as it was after. `messageId` and `campaignId` are set when the link names them; `topicId` when they left only that topic, their email consent then unchanged. Reconcile with `GET /v1/contacts/{id}` and its `consent-changes`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("contact.unsubscribed", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `contact` (Contact, required)
    - `id` (string, required, uuid)
    - `externalId` (string | null, required) — Your own id for the contact, if set.
    - `email` (string | null, required, email)
    - `firstName` (string | null, required)
    - `lastName` (string | null, required)
    - `phone` (string | null, required) — Phone number in E.164 format.
    - `timezone` (string | null, required) — IANA timezone, e.g. `Europe/London`.
    - `country` (string | null, required) — ISO 3166-1 alpha-2 code: as written, or inferred from the phone, else the timezone.
    - `locale` (string | null, required) — BCP 47 tag (`fr`, `fr-CA`): the language the contact reads (its first subtag), and how merge tags format numbers, dates and money for them.
    - `rfm` (object | null, required) — The contact's RFM (recency, frequency and monetary value) group among the workspace's customers, from its purchase events (the workspace's `purchaseEvent`: an order, a paid invoice, a donation), each score from 1 to 5 (a fifth of the customers each; 5 is the most recent, most frequent or highest spend), and their purchase totals. Spend counts only purchases in the workspace's main currency; when the purchase carries no amount, `monetary` follows frequency. Recomputed daily, so a purchase today shows tomorrow; `null` for someone who has never purchased.
      - `group` (string, required, one of `champions`, `loyal`, `cant_lose_them`, `potential_loyalists`, `new_customers`, `need_attention`, `about_to_sleep`, `at_risk`, `hibernating`, `lost`)
      - `recency` (integer, required, min 1, max 5)
      - `frequency` (integer, required, min 1, max 5)
      - `monetary` (integer, required, min 1, max 5)
      - `purchaseCount` (integer, required, min > 0) — Their purchase events (the workspace's `purchaseEvent`), in any currency.
      - `totalSpent` (object | null, required) — What their purchases' amounts (`purchaseValueProperty`) add up to, in the workspace's main currency (`currency` on `GET /v1/reports/rfm`); purchases in other currencies and refunds are left out. `null` when the purchase carries no amount.
        - `currency` (string | null, required) — The currency, an ISO 4217 code; null when none was named.
        - `value` (number, required) — The amount in that currency.
      - `lastPurchasedAt` (string, required, date-time) — When their latest purchase happened.
    - `purchaseCycle` (object | null, required)
      - `pattern` (string, required, one of `regular`, `not_enough_history`, `irregular`) — `regular`: their usual time between purchases is known; `not_enough_history`: fewer than 4 purchase days; `irregular`: no regular pattern. Only a regular buyer is ever overdue.
      - `usualDaysBetweenPurchases` (number | null, required) — The median number of days between purchase days; null unless `regular`.
      - `lastPurchasedOn` (string, required, date) — The last purchase day, in UTC.
      - `expectedNextPurchaseOn` (string | null, required, date) — The last purchase day plus the usual time between purchases; null unless `regular`.
      - `daysSinceLastPurchase` (integer, required)
      - `overdueRatio` (number | null, required) — Days since the last purchase over the usual time between purchases: 1 is due today, 1.5 half a cycle late. Null unless `regular`.
      - `cycleStatus` (string | null, required, one of `on_track`, `overdue`, `lapsed`, `dormant`) — `overdue` from 1.5× the usual time between purchases, `lapsed` from 2×, `dormant` from 3×, else `on_track`; null unless `regular`.
      - `reason` (string, required) — Why, in plain words: "Usually transacts every 30 days; it's been 52."
    - `predictedValue` (object | null, required) — What a model of the workspace's customers (BG/NBD and Gamma-Gamma, as Klaviyo uses) predicts of this contact over the next year, from their transaction days of the purchase event and spend; worked out daily. Needs 500 customers, 180 days of transactions and 20 customers with three or more transaction days. `null` for someone who never transacted, and on plans that do not include Kiro.
      - One of: **With horizonDays, transactions, probabilityActive, spend and lifetimeValue**
        - `status` ("predicted", required)
        - `horizonDays` (integer, required) — The window predicted: 365 days from today.
        - `transactions` (number, required) — Transaction days expected in the window, to one decimal.
        - `probabilityActive` (number, required) — The chance they are still a customer rather than gone quietly, 0 to 1: falls as the time since their last transaction grows beyond their usual gap.
        - `spend` (object | null, required) — Predicted lifetime value: what they are expected to spend in the window (Klaviyo calls it predicted CLV). Null when transactions carry no amount.
        - `lifetimeValue` (object | null, required) — `rfm.totalSpent` plus `spend`: spent so far and expected (total CLV).
      - One of: **Option 2**
        - `status` ("not_enough_data", required) — The workspace's history is too short to predict from; `prediction.reason` on `GET /v1/reports/rfm` says what is missing.
    - `dates` (map<string, string>, required) — Named calendar dates, e.g. `birthday`, as `YYYY-MM-DD` or `--MM-DD`.
    - `attributes` (map<string, object>, required) — Custom attributes, keyed by attribute name.
    - `consent` (ContactConsent, required) — Consent on each channel.
      - `email` (boolean, required) — Whether the contact has consented to email.
      - `push` (boolean, required) — Whether the contact has consented to push.
    - `createdAt` (string, required, date-time)
    - `updatedAt` (string, required, date-time)
  - `channel` ("email", required)
  - `messageId` (string | null, required, uuid)
  - `campaignId` (string | null, required, uuid)
  - `topicId` (string | null, required, uuid)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "contact.unsubscribed",
  "occurredAt": "2026-10-01T09:30:00.000Z",
  "data": {
    "contact": {
      "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
      "externalId": "customer-4821",
      "email": "olivia@example.com",
      "firstName": "Olivia",
      "lastName": "Bennett",
      "phone": "+447700900123",
      "timezone": "Europe/London",
      "country": "GB",
      "locale": "en-NG",
      "rfm": {
        "group": "loyal",
        "recency": 3,
        "frequency": 4,
        "monetary": 5,
        "purchaseCount": 6,
        "totalSpent": {
          "currency": "USD",
          "value": 412.5
        },
        "lastPurchasedAt": "2026-03-02T18:20:00.000Z"
      },
      "purchaseCycle": {
        "pattern": "regular",
        "usualDaysBetweenPurchases": 30,
        "lastPurchasedOn": "2026-03-02",
        "expectedNextPurchaseOn": "2026-04-01",
        "daysSinceLastPurchase": 52,
        "overdueRatio": 1.73,
        "cycleStatus": "overdue",
        "reason": "Usually transacts every 30 days; it's been 52."
      },
      "predictedValue": {
        "status": "predicted",
        "horizonDays": 365,
        "transactions": 4.2,
        "probabilityActive": 0.61,
        "spend": {
          "currency": "USD",
          "value": 289
        },
        "lifetimeValue": {
          "currency": "USD",
          "value": 702
        }
      },
      "dates": {
        "birthday": "1992-03-14"
      },
      "attributes": {
        "plan": "pro",
        "favourite_spice": "smoked paprika",
        "orders": 3
      },
      "consent": {
        "email": false,
        "push": false
      },
      "createdAt": "2026-09-12T08:15:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z"
    },
    "channel": "email",
    "messageId": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
    "campaignId": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
    "topicId": null
  }
}
```

## `contact.consent_changed`

Consent was granted or withdrawn, with where it came from: on a `channel`, or on one topic (`topicId`, and `channel` null). `contact` is as it was after the change. Reconcile with `GET /v1/contacts/{id}/consent-changes`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("contact.consent_changed", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `contact` (Contact, required)
    - `id` (string, required, uuid)
    - `externalId` (string | null, required) — Your own id for the contact, if set.
    - `email` (string | null, required, email)
    - `firstName` (string | null, required)
    - `lastName` (string | null, required)
    - `phone` (string | null, required) — Phone number in E.164 format.
    - `timezone` (string | null, required) — IANA timezone, e.g. `Europe/London`.
    - `country` (string | null, required) — ISO 3166-1 alpha-2 code: as written, or inferred from the phone, else the timezone.
    - `locale` (string | null, required) — BCP 47 tag (`fr`, `fr-CA`): the language the contact reads (its first subtag), and how merge tags format numbers, dates and money for them.
    - `rfm` (object | null, required) — The contact's RFM (recency, frequency and monetary value) group among the workspace's customers, from its purchase events (the workspace's `purchaseEvent`: an order, a paid invoice, a donation), each score from 1 to 5 (a fifth of the customers each; 5 is the most recent, most frequent or highest spend), and their purchase totals. Spend counts only purchases in the workspace's main currency; when the purchase carries no amount, `monetary` follows frequency. Recomputed daily, so a purchase today shows tomorrow; `null` for someone who has never purchased.
      - `group` (string, required, one of `champions`, `loyal`, `cant_lose_them`, `potential_loyalists`, `new_customers`, `need_attention`, `about_to_sleep`, `at_risk`, `hibernating`, `lost`)
      - `recency` (integer, required, min 1, max 5)
      - `frequency` (integer, required, min 1, max 5)
      - `monetary` (integer, required, min 1, max 5)
      - `purchaseCount` (integer, required, min > 0) — Their purchase events (the workspace's `purchaseEvent`), in any currency.
      - `totalSpent` (object | null, required) — What their purchases' amounts (`purchaseValueProperty`) add up to, in the workspace's main currency (`currency` on `GET /v1/reports/rfm`); purchases in other currencies and refunds are left out. `null` when the purchase carries no amount.
        - `currency` (string | null, required) — The currency, an ISO 4217 code; null when none was named.
        - `value` (number, required) — The amount in that currency.
      - `lastPurchasedAt` (string, required, date-time) — When their latest purchase happened.
    - `purchaseCycle` (object | null, required)
      - `pattern` (string, required, one of `regular`, `not_enough_history`, `irregular`) — `regular`: their usual time between purchases is known; `not_enough_history`: fewer than 4 purchase days; `irregular`: no regular pattern. Only a regular buyer is ever overdue.
      - `usualDaysBetweenPurchases` (number | null, required) — The median number of days between purchase days; null unless `regular`.
      - `lastPurchasedOn` (string, required, date) — The last purchase day, in UTC.
      - `expectedNextPurchaseOn` (string | null, required, date) — The last purchase day plus the usual time between purchases; null unless `regular`.
      - `daysSinceLastPurchase` (integer, required)
      - `overdueRatio` (number | null, required) — Days since the last purchase over the usual time between purchases: 1 is due today, 1.5 half a cycle late. Null unless `regular`.
      - `cycleStatus` (string | null, required, one of `on_track`, `overdue`, `lapsed`, `dormant`) — `overdue` from 1.5× the usual time between purchases, `lapsed` from 2×, `dormant` from 3×, else `on_track`; null unless `regular`.
      - `reason` (string, required) — Why, in plain words: "Usually transacts every 30 days; it's been 52."
    - `predictedValue` (object | null, required) — What a model of the workspace's customers (BG/NBD and Gamma-Gamma, as Klaviyo uses) predicts of this contact over the next year, from their transaction days of the purchase event and spend; worked out daily. Needs 500 customers, 180 days of transactions and 20 customers with three or more transaction days. `null` for someone who never transacted, and on plans that do not include Kiro.
      - One of: **With horizonDays, transactions, probabilityActive, spend and lifetimeValue**
        - `status` ("predicted", required)
        - `horizonDays` (integer, required) — The window predicted: 365 days from today.
        - `transactions` (number, required) — Transaction days expected in the window, to one decimal.
        - `probabilityActive` (number, required) — The chance they are still a customer rather than gone quietly, 0 to 1: falls as the time since their last transaction grows beyond their usual gap.
        - `spend` (object | null, required) — Predicted lifetime value: what they are expected to spend in the window (Klaviyo calls it predicted CLV). Null when transactions carry no amount.
        - `lifetimeValue` (object | null, required) — `rfm.totalSpent` plus `spend`: spent so far and expected (total CLV).
      - One of: **Option 2**
        - `status` ("not_enough_data", required) — The workspace's history is too short to predict from; `prediction.reason` on `GET /v1/reports/rfm` says what is missing.
    - `dates` (map<string, string>, required) — Named calendar dates, e.g. `birthday`, as `YYYY-MM-DD` or `--MM-DD`.
    - `attributes` (map<string, object>, required) — Custom attributes, keyed by attribute name.
    - `consent` (ContactConsent, required) — Consent on each channel.
      - `email` (boolean, required) — Whether the contact has consented to email.
      - `push` (boolean, required) — Whether the contact has consented to push.
    - `createdAt` (string, required, date-time)
    - `updatedAt` (string, required, date-time)
  - `channel` (string | null, required, one of `email`, `push`)
  - `topicId` (string | null, required, uuid)
  - `granted` (boolean, required)
  - `source` (string, required, one of `dashboard`, `api`, `import`, `form`, `unsubscribe`, `system`, `sdk`)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "contact.consent_changed",
  "occurredAt": "2026-10-01T09:30:00.000Z",
  "data": {
    "contact": {
      "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
      "externalId": "customer-4821",
      "email": "olivia@example.com",
      "firstName": "Olivia",
      "lastName": "Bennett",
      "phone": "+447700900123",
      "timezone": "Europe/London",
      "country": "GB",
      "locale": "en-NG",
      "rfm": {
        "group": "loyal",
        "recency": 3,
        "frequency": 4,
        "monetary": 5,
        "purchaseCount": 6,
        "totalSpent": {
          "currency": "USD",
          "value": 412.5
        },
        "lastPurchasedAt": "2026-03-02T18:20:00.000Z"
      },
      "purchaseCycle": {
        "pattern": "regular",
        "usualDaysBetweenPurchases": 30,
        "lastPurchasedOn": "2026-03-02",
        "expectedNextPurchaseOn": "2026-04-01",
        "daysSinceLastPurchase": 52,
        "overdueRatio": 1.73,
        "cycleStatus": "overdue",
        "reason": "Usually transacts every 30 days; it's been 52."
      },
      "predictedValue": {
        "status": "predicted",
        "horizonDays": 365,
        "transactions": 4.2,
        "probabilityActive": 0.61,
        "spend": {
          "currency": "USD",
          "value": 289
        },
        "lifetimeValue": {
          "currency": "USD",
          "value": 702
        }
      },
      "dates": {
        "birthday": "1992-03-14"
      },
      "attributes": {
        "plan": "pro",
        "favourite_spice": "smoked paprika",
        "orders": 3
      },
      "consent": {
        "email": true,
        "push": false
      },
      "createdAt": "2026-09-12T08:15:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z"
    },
    "channel": "email",
    "topicId": null,
    "granted": true,
    "source": "form"
  }
}
```

## `form.submitted`

A hosted form was submitted; `contact` is as the submission left it. `eventId` is the `contact.form_submitted` event recorded on the contact. `location` is where the form sits on the site; `utm`, `referrerHost`, `trafficSource` and `placement` say where the submitter came from, as the form's page reported it; on a double opt-in form the event fires on confirmation. Reconcile with `GET /v1/forms/{id}/submissions`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("form.submitted", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `form` (object, required)
    - `id` (string, required, uuid)
    - `name` (string, required)
  - `contact` (Contact, required)
    - `id` (string, required, uuid)
    - `externalId` (string | null, required) — Your own id for the contact, if set.
    - `email` (string | null, required, email)
    - `firstName` (string | null, required)
    - `lastName` (string | null, required)
    - `phone` (string | null, required) — Phone number in E.164 format.
    - `timezone` (string | null, required) — IANA timezone, e.g. `Europe/London`.
    - `country` (string | null, required) — ISO 3166-1 alpha-2 code: as written, or inferred from the phone, else the timezone.
    - `locale` (string | null, required) — BCP 47 tag (`fr`, `fr-CA`): the language the contact reads (its first subtag), and how merge tags format numbers, dates and money for them.
    - `rfm` (object | null, required) — The contact's RFM (recency, frequency and monetary value) group among the workspace's customers, from its purchase events (the workspace's `purchaseEvent`: an order, a paid invoice, a donation), each score from 1 to 5 (a fifth of the customers each; 5 is the most recent, most frequent or highest spend), and their purchase totals. Spend counts only purchases in the workspace's main currency; when the purchase carries no amount, `monetary` follows frequency. Recomputed daily, so a purchase today shows tomorrow; `null` for someone who has never purchased.
      - `group` (string, required, one of `champions`, `loyal`, `cant_lose_them`, `potential_loyalists`, `new_customers`, `need_attention`, `about_to_sleep`, `at_risk`, `hibernating`, `lost`)
      - `recency` (integer, required, min 1, max 5)
      - `frequency` (integer, required, min 1, max 5)
      - `monetary` (integer, required, min 1, max 5)
      - `purchaseCount` (integer, required, min > 0) — Their purchase events (the workspace's `purchaseEvent`), in any currency.
      - `totalSpent` (object | null, required) — What their purchases' amounts (`purchaseValueProperty`) add up to, in the workspace's main currency (`currency` on `GET /v1/reports/rfm`); purchases in other currencies and refunds are left out. `null` when the purchase carries no amount.
        - `currency` (string | null, required) — The currency, an ISO 4217 code; null when none was named.
        - `value` (number, required) — The amount in that currency.
      - `lastPurchasedAt` (string, required, date-time) — When their latest purchase happened.
    - `purchaseCycle` (object | null, required)
      - `pattern` (string, required, one of `regular`, `not_enough_history`, `irregular`) — `regular`: their usual time between purchases is known; `not_enough_history`: fewer than 4 purchase days; `irregular`: no regular pattern. Only a regular buyer is ever overdue.
      - `usualDaysBetweenPurchases` (number | null, required) — The median number of days between purchase days; null unless `regular`.
      - `lastPurchasedOn` (string, required, date) — The last purchase day, in UTC.
      - `expectedNextPurchaseOn` (string | null, required, date) — The last purchase day plus the usual time between purchases; null unless `regular`.
      - `daysSinceLastPurchase` (integer, required)
      - `overdueRatio` (number | null, required) — Days since the last purchase over the usual time between purchases: 1 is due today, 1.5 half a cycle late. Null unless `regular`.
      - `cycleStatus` (string | null, required, one of `on_track`, `overdue`, `lapsed`, `dormant`) — `overdue` from 1.5× the usual time between purchases, `lapsed` from 2×, `dormant` from 3×, else `on_track`; null unless `regular`.
      - `reason` (string, required) — Why, in plain words: "Usually transacts every 30 days; it's been 52."
    - `predictedValue` (object | null, required) — What a model of the workspace's customers (BG/NBD and Gamma-Gamma, as Klaviyo uses) predicts of this contact over the next year, from their transaction days of the purchase event and spend; worked out daily. Needs 500 customers, 180 days of transactions and 20 customers with three or more transaction days. `null` for someone who never transacted, and on plans that do not include Kiro.
      - One of: **With horizonDays, transactions, probabilityActive, spend and lifetimeValue**
        - `status` ("predicted", required)
        - `horizonDays` (integer, required) — The window predicted: 365 days from today.
        - `transactions` (number, required) — Transaction days expected in the window, to one decimal.
        - `probabilityActive` (number, required) — The chance they are still a customer rather than gone quietly, 0 to 1: falls as the time since their last transaction grows beyond their usual gap.
        - `spend` (object | null, required) — Predicted lifetime value: what they are expected to spend in the window (Klaviyo calls it predicted CLV). Null when transactions carry no amount.
        - `lifetimeValue` (object | null, required) — `rfm.totalSpent` plus `spend`: spent so far and expected (total CLV).
      - One of: **Option 2**
        - `status` ("not_enough_data", required) — The workspace's history is too short to predict from; `prediction.reason` on `GET /v1/reports/rfm` says what is missing.
    - `dates` (map<string, string>, required) — Named calendar dates, e.g. `birthday`, as `YYYY-MM-DD` or `--MM-DD`.
    - `attributes` (map<string, object>, required) — Custom attributes, keyed by attribute name.
    - `consent` (ContactConsent, required) — Consent on each channel.
      - `email` (boolean, required) — Whether the contact has consented to email.
      - `push` (boolean, required) — Whether the contact has consented to push.
    - `createdAt` (string, required, date-time)
    - `updatedAt` (string, required, date-time)
  - `eventId` (string, required, uuid)
  - `outcome` (string, required, one of `created`, `updated`, `honeypot`, `pending`, `expired`)
  - `location` (string, required) — The form's `location`: where it sits on the site.
  - `utm` (object, required)
    - `source` (string, optional)
    - `medium` (string, optional)
    - `campaign` (string, optional)
    - `term` (string, optional)
    - `content` (string, optional)
  - `referrerHost` (string | null, required)
  - `trafficSource` (string, required)
  - `placement` (string | null, required, one of `link`, `embed`, `popup`)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "form.submitted",
  "occurredAt": "2026-10-01T09:30:00.000Z",
  "data": {
    "form": {
      "id": "0192f3c1-6666-7777-8888-999900001111",
      "name": "Newsletter sign-up"
    },
    "contact": {
      "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
      "externalId": "customer-4821",
      "email": "olivia@example.com",
      "firstName": "Olivia",
      "lastName": "Bennett",
      "phone": "+447700900123",
      "timezone": "Europe/London",
      "country": "GB",
      "locale": "en-NG",
      "rfm": {
        "group": "loyal",
        "recency": 3,
        "frequency": 4,
        "monetary": 5,
        "purchaseCount": 6,
        "totalSpent": {
          "currency": "USD",
          "value": 412.5
        },
        "lastPurchasedAt": "2026-03-02T18:20:00.000Z"
      },
      "purchaseCycle": {
        "pattern": "regular",
        "usualDaysBetweenPurchases": 30,
        "lastPurchasedOn": "2026-03-02",
        "expectedNextPurchaseOn": "2026-04-01",
        "daysSinceLastPurchase": 52,
        "overdueRatio": 1.73,
        "cycleStatus": "overdue",
        "reason": "Usually transacts every 30 days; it's been 52."
      },
      "predictedValue": {
        "status": "predicted",
        "horizonDays": 365,
        "transactions": 4.2,
        "probabilityActive": 0.61,
        "spend": {
          "currency": "USD",
          "value": 289
        },
        "lifetimeValue": {
          "currency": "USD",
          "value": 702
        }
      },
      "dates": {
        "birthday": "1992-03-14"
      },
      "attributes": {
        "plan": "pro",
        "favourite_spice": "smoked paprika",
        "orders": 3
      },
      "consent": {
        "email": true,
        "push": false
      },
      "createdAt": "2026-09-12T08:15:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z"
    },
    "eventId": "0192f3c0-0a1b-7c2d-8e3f-4a5b6c7d8e9f",
    "outcome": "created",
    "location": "website-footer",
    "utm": {
      "source": "instagram",
      "medium": "social",
      "campaign": "october-launch"
    },
    "referrerHost": "l.instagram.com",
    "trafficSource": "instagram",
    "placement": "link"
  }
}
```

## `campaign.sent`

A campaign finished queueing its messages. Reconcile with `GET /v1/campaigns/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("campaign.sent", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `campaign` (Campaign, required)
    - `id` (string, required, uuid)
    - `name` (string, required)
    - `channels` (string[], required) — The channels it sends on.
    - `allContacts` (boolean, required) — Whether it goes to all contacts: everyone its channels reach, with consent and suppressions applied as on any send.
    - `listIds` (string[] | null, required) — The lists it goes to, if any: a member of any of them receives it once.
    - `segmentId` (string | null, required, uuid) — The segment it goes to, if any.
    - `audienceName` (string | null, required) — The names of the lists or the segment it went to, once one of them has been deleted (the list leaves `listIds`, or `segmentId` becomes `null`). Only a sent or cancelled campaign can lose its audience this way.
    - `audienceRules` ([object | null](https://kirora.io/docs/api/models#segment-rules), required) — Inline rules choosing the audience, if any. At most one audience is set.
      - Any of: **Match all**
        - `all` (object[], required, at least 1 item, at most 20 items) — Every rule or nested group must match.
      - Any of: **Match any**
        - `any` (object[], required, at least 1 item, at most 20 items) — At least one rule or nested group must match.
    - `exclusions` (object | null, required) — Lists and segments left out of its audience ("don't send to"); `null` for none.
      - `listIds` (string[], required, at most 20 items, default `[]`) — Lists whose members are left out.
      - `segmentIds` (string[], required, at most 10 items, default `[]`) — Segments whose members are left out, by the segment's rules at send.
    - `topicId` (string | null, required, uuid) — Sends only to contacts the topic reaches; `null` sends to everyone with consent.
    - `messageLimits` (MessageLimitUse, required)
      - `apply` (boolean, required) — Whether its messages count toward the workspace's message limits and are held by them.
      - `retryFor` (Duration, optional) — How long a message over a limit keeps being retried before it is skipped with reason `message_limit`: whole hours, at most 48. Unset, it is skipped at once. Absent when `apply` is false.
        - `value` (integer, required, min > 0)
        - `unit` (string, required, one of `seconds`, `minutes`, `hours`, `days`)
    - `utm` (object | null, required) — UTM parameters added to the links in the email.
      - `enabled` (boolean, required)
      - `source` (string, optional, pattern `^[\p{L}\p{N}\p{M} ._\-+/]+$`, 1–100 characters)
      - `medium` (string, optional, pattern `^[\p{L}\p{N}\p{M} ._\-+/]+$`, 1–100 characters)
      - `campaign` (string, optional, pattern `^[\p{L}\p{N}\p{M} ._\-+/]+$`, 1–100 characters)
      - `content` (string, optional, pattern `^[\p{L}\p{N}\p{M} ._\-+/]+$`, 1–100 characters)
      - `term` (string, optional, pattern `^[\p{L}\p{N}\p{M} ._\-+/]+$`, 1–100 characters)
    - `content` (CampaignContent, required)
      - `email` (object, optional) — The email fields and design; any may be missing on a draft.
        - `subject` (string, optional, 1–998 characters) — The subject line. Merge tags are allowed.
        - `previewText` (string, optional, 1–255 characters) — Shown by inboxes after the subject. Merge tags are allowed; keep it near 100 characters.
        - `html` (string, optional, 1–512,000 characters) — The HTML body. Rendered from the design when one is set.
        - `text` (string, optional, 1–512,000 characters) — The plain-text alternative.
        - `from` (string, optional, 1–320 characters) — The sender address, on a verified sending domain.
        - `replyTo` (string, optional, email) — Where replies go; the part before the @ must be ASCII.
        - `templateSnapshot` (object, optional) — The email design or HTML, copied into the campaign so later template edits do not change it.
        - `translations` (EmailTranslations, optional, at most 30 keys) — The email in other languages, keyed by language tag (`fr`, `pt-BR`). Each contact gets the version for their `locale`: the exact tag first, then each shorter one (`fr-CA` takes `fr`), else the main email. A field a version leaves out is the main email's; the sender, reply-to, topic and tracking are always the main email's, and every A/B version shares the translations. Up to 30.
      - `push` (object, optional) — The notification content.
        - `title` (string, optional, 1–100 characters) — The notification title (up to 100 characters).
        - `body` (string, optional, 1–500 characters) — The notification text (up to 500 characters).
        - `actionUrl` (string, optional, uri, up to 2,048 characters) — The HTTPS page opened when the notification is tapped.
        - `imageUrl` (string, optional, uri, up to 2,048 characters) — A large picture: web and Android show it; iOS needs the app's service extension.
        - `iconUrl` (string, optional, uri, up to 2,048 characters) — Web only; iOS and Android show the app's own notification icon.
        - `data` (map<string, string>, optional, at most 10 keys, keys: pattern `^[A-Za-z0-9_.-]{1,64}$`, values: up to 1,024 characters) — Up to 10 string key-value pairs passed to the app untouched, for deep links and in-app routing.
        - `buttons` (object[], optional, at least 1 item, at most 2 items) — Up to 2 action buttons. iPhones show them through a notification service extension.
        - `collapseKey` (string, optional, pattern `^[A-Za-z0-9_-]{1,64}$`) — A newer notification with the same key replaces the older one on the device.
        - `sound` (string, optional, 1–64 characters) — The name of a sound the app ships; the device's default if unset.
        - `badge` (integer, optional, min 0, max 99999) — The number shown on the iOS app icon.
        - `ttl` (DurationOrZero, optional) — How long a provider keeps trying an offline device, up to 28 days; zero delivers now or never. Defaults to one day.
        - `urgency` (string, optional, one of `high`, `normal`) — `high` (the default) asks the push service to deliver promptly, even to a locked or sleeping device; `normal` lets it wait for a good moment to save battery, so a locked phone may show it only once woken. Device settings and the app still decide whether and how it is shown.
        - `translations` (PushTranslations, optional, at most 30 keys) — The title and body in other languages, keyed by language tag (`fr`, `pt-BR`). Each device gets the one for its own language, as it last reported it: the exact tag first, then its language (`fr-CA` takes `fr`); a device that reported none, the contact's `locale`; otherwise the shared text. A translation replaces the title and body on every platform, overrides included, and in every A/B version. Merge tags work as in the shared text.
        - `overrides` (object, optional) — Fields that differ on one platform, each replacing the shared one there (a whole `data` map, not merged key by key). On iOS and Android `actionUrl` may be an app link such as `myapp://orders`; the shared one and the web one must be HTTPS.
        - `pushProjectId` (string, optional, uuid) — The push project it goes out through. Needed to send.
    - `abTest` (object | null, required) — Its A/B test, if it has one; `null` sends one version to everyone.
      - `versions` (object[], required) — Versions 2 onward; version 1 is the campaign's own content.
        - `email` (object, optional) — This version's email fields and design; any left out are version 1's.
        - `push` (object, optional) — This version's push title, body and image; any left out are version 1's.
      - `testPercent` (integer, required, min 10, max 50) — The share of the audience, in percent, the versions go to, split evenly between them. The rest get the winner.
      - `winnerBy` (string, required, one of `clicks`, `opens`, `conversions`) — How the winner is picked: the version with the highest click or open rate over its delivered messages that could show one (as the campaign's own rates: email sent without tracking is left out; over sent until any version has a delivery), or the highest share of its sent messages that reached the campaign's conversion goal (`conversionGoalId`). Opens overcount: machine opens (Apple Mail Privacy Protection, Gmail's prefetch, mail scanners) count unread email as opened. A push test is decided by clicks (a tap the app reports with a link to follow, so the push needs an `actionUrl`) or conversions, not opens. A tie goes to the lower version.
      - `conversionGoalId` (string | null, required, uuid) — The conversion goal that decides, when `winnerBy` is `conversions`.
      - `decideAfter` (object | null, required) — How long after the test went out to pick the winner and send it to the rest, from 1 to 72 hours; `null` to pick it by hand.
        - `value` (integer, required, min > 0)
        - `unit` (string, required, one of `seconds`, `minutes`, `hours`, `days`)
      - `winner` (integer | null, required, min 1) — The winning version, once picked.
      - `testSentAt` (string | null, required, date-time) — When every test message was queued.
      - `decidedAt` (string | null, required, date-time) — When the winner was picked.
    - `status` (string, required, one of `draft`, `scheduled`, `sending`, `testing`, `sent`, `cancelled`) — Where the campaign is in its lifecycle. `testing`: an A/B test went out and the rest of the audience waits for the winner. `sent`: every message was created and queued; it says nothing about delivery, which `GET /v1/campaigns/{id}/metrics` reports (some may still be queued, skipped or failed).
    - `schedule` (object | null, required) — When it sends: `fixed`, everyone at one instant, or `local_time`, each contact at a time on their own clock. Set while it is `scheduled`; a local-time schedule stays set once sending starts, since each contact's time still decides when theirs goes. `null` otherwise.
      - One of: **Fixed time**
        - `type` ("fixed", required)
        - `sendAt` (string, required, date-time) — The instant everyone receives it at.
      - One of: **Local time**
        - `type` ("local_time", required)
        - `localDateTime` (string, required, pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$`) — The wall-clock time (`YYYY-MM-DDTHH:MM`, no timezone) each contact receives it at on their own clock. It may already have passed in some timezones, not in all.
        - `timezoneIfUnknown` (string | null, required) — The IANA timezone for contacts without one; `null`: the workspace's.
        - `ifTimeHasPassed` (string, required, one of `send_now`, `skip`, `next_day`) — Where the time has already gone when it is scheduled: `send_now` sends there at once, `next_day` at the same time the next day, and `skip` leaves those contacts out (skipped with `local_time_passed`).
        - `startsAt` (string, required, date-time) — When sending starts: the earliest timezone reaching `localDateTime`.
    - `sentAt` (string | null, required, date-time) — When sending started; set from `sending` on (testing, sent, cancelled), `null` before. A local-time campaign starts in the earliest timezone.
    - `delivery` (CampaignDelivery, required) — How fast it goes out, and until when; frozen with its content at send.
      - `rateLimit` (object | null, required) — How fast it goes out; `null` as fast as the plan allows. The plan's own send rate still applies, so a campaign can only slow a send down.
        - `recipients` (integer, required, min 1, max 1000000) — At most this many recipients per `per`, spread evenly across it. Counts people, so one person's email and push go together.
        - `per` (string, required, one of `minute`, `hour`, `day`) — The period the limit counts over.
      - `expiresAfter` (object | null, required) — From when sending starts, from 1 to 720 hours: recipients not yet sent when it passes are skipped with reason `expired`. A rate-limited send always expires, after 720 hours unless set. With an A/B test it must outlast `abTest.decideAfter`. `null`: no expiry.
        - `value` (integer, required, min > 0)
        - `unit` (string, required, one of `seconds`, `minutes`, `hours`, `days`)
    - `pendingAgentReview` (boolean, required) — An agent key authored or edited it and it is still a draft, so it waits in the agent review queue: sending needs a person's approval.
    - `sendApprovalRequest` (object | null, required) — The latest request, from a member in the dashboard, that an admin send it while the workspace keeps sending to admins; kept after it sends, cleared by any edit before then.
      - `userId` (string, required, uuid) — The member who asked.
      - `requestedAt` (string, required, date-time)
      - `note` (string | null, required)
    - `archivedAt` (string | null, required, date-time) — When it was archived; archived campaigns are left out of the list by default.
    - `tags` (string[], required) — Tag names, sorted without case.
    - `revision` (integer, required, min > 0, max 2147483647) — Raised by every edit. Send it back as `expectedRevision` on the update so a change made since you read it is refused instead of overwritten.
    - `createdAt` (string, required, date-time)
    - `updatedAt` (string, required, date-time)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "campaign.sent",
  "occurredAt": "2026-10-01T09:31:00.000Z",
  "data": {
    "campaign": {
      "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
      "name": "October newsletter",
      "channels": [
        "email"
      ],
      "allContacts": false,
      "listIds": [
        "0192f3a2-1b3c-7e5d-8a21-4f6a7b8c9d0e"
      ],
      "segmentId": null,
      "audienceRules": null,
      "topicId": null,
      "messageLimits": {
        "apply": true,
        "retryFor": {
          "value": 24,
          "unit": "hours"
        }
      },
      "utm": null,
      "content": {
        "email": {
          "subject": "New this month at Acme Shop",
          "previewText": "Autumn arrivals are in",
          "from": "Acme Shop <hello@mail.acme-shop.com>",
          "replyTo": "support@acme-shop.com"
        }
      },
      "status": "sent",
      "abTest": null,
      "audienceName": null,
      "schedule": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "delivery": {
        "rateLimit": null,
        "expiresAfter": null
      },
      "pendingAgentReview": false,
      "sendApprovalRequest": null,
      "exclusions": null,
      "archivedAt": null,
      "tags": [
        "Newsletter"
      ],
      "revision": 4,
      "createdAt": "2026-09-28T09:30:00.000Z",
      "updatedAt": "2026-10-01T09:31:00.000Z"
    }
  }
}
```

## `journey.enrolled`

A contact entered a journey. `triggerEventId` is the event that started it, null for someone already in the trigger's list or segment when it went live (`enrollCurrentMembers`); `contact` is as it was on entry. Reconcile with `GET /v1/contacts/{id}/journeys`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("journey.enrolled", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `journey` (object, required)
    - `id` (string, required, uuid)
    - `name` (string, required)
  - `contact` (Contact, required)
    - `id` (string, required, uuid)
    - `externalId` (string | null, required) — Your own id for the contact, if set.
    - `email` (string | null, required, email)
    - `firstName` (string | null, required)
    - `lastName` (string | null, required)
    - `phone` (string | null, required) — Phone number in E.164 format.
    - `timezone` (string | null, required) — IANA timezone, e.g. `Europe/London`.
    - `country` (string | null, required) — ISO 3166-1 alpha-2 code: as written, or inferred from the phone, else the timezone.
    - `locale` (string | null, required) — BCP 47 tag (`fr`, `fr-CA`): the language the contact reads (its first subtag), and how merge tags format numbers, dates and money for them.
    - `rfm` (object | null, required) — The contact's RFM (recency, frequency and monetary value) group among the workspace's customers, from its purchase events (the workspace's `purchaseEvent`: an order, a paid invoice, a donation), each score from 1 to 5 (a fifth of the customers each; 5 is the most recent, most frequent or highest spend), and their purchase totals. Spend counts only purchases in the workspace's main currency; when the purchase carries no amount, `monetary` follows frequency. Recomputed daily, so a purchase today shows tomorrow; `null` for someone who has never purchased.
      - `group` (string, required, one of `champions`, `loyal`, `cant_lose_them`, `potential_loyalists`, `new_customers`, `need_attention`, `about_to_sleep`, `at_risk`, `hibernating`, `lost`)
      - `recency` (integer, required, min 1, max 5)
      - `frequency` (integer, required, min 1, max 5)
      - `monetary` (integer, required, min 1, max 5)
      - `purchaseCount` (integer, required, min > 0) — Their purchase events (the workspace's `purchaseEvent`), in any currency.
      - `totalSpent` (object | null, required) — What their purchases' amounts (`purchaseValueProperty`) add up to, in the workspace's main currency (`currency` on `GET /v1/reports/rfm`); purchases in other currencies and refunds are left out. `null` when the purchase carries no amount.
        - `currency` (string | null, required) — The currency, an ISO 4217 code; null when none was named.
        - `value` (number, required) — The amount in that currency.
      - `lastPurchasedAt` (string, required, date-time) — When their latest purchase happened.
    - `purchaseCycle` (object | null, required)
      - `pattern` (string, required, one of `regular`, `not_enough_history`, `irregular`) — `regular`: their usual time between purchases is known; `not_enough_history`: fewer than 4 purchase days; `irregular`: no regular pattern. Only a regular buyer is ever overdue.
      - `usualDaysBetweenPurchases` (number | null, required) — The median number of days between purchase days; null unless `regular`.
      - `lastPurchasedOn` (string, required, date) — The last purchase day, in UTC.
      - `expectedNextPurchaseOn` (string | null, required, date) — The last purchase day plus the usual time between purchases; null unless `regular`.
      - `daysSinceLastPurchase` (integer, required)
      - `overdueRatio` (number | null, required) — Days since the last purchase over the usual time between purchases: 1 is due today, 1.5 half a cycle late. Null unless `regular`.
      - `cycleStatus` (string | null, required, one of `on_track`, `overdue`, `lapsed`, `dormant`) — `overdue` from 1.5× the usual time between purchases, `lapsed` from 2×, `dormant` from 3×, else `on_track`; null unless `regular`.
      - `reason` (string, required) — Why, in plain words: "Usually transacts every 30 days; it's been 52."
    - `predictedValue` (object | null, required) — What a model of the workspace's customers (BG/NBD and Gamma-Gamma, as Klaviyo uses) predicts of this contact over the next year, from their transaction days of the purchase event and spend; worked out daily. Needs 500 customers, 180 days of transactions and 20 customers with three or more transaction days. `null` for someone who never transacted, and on plans that do not include Kiro.
      - One of: **With horizonDays, transactions, probabilityActive, spend and lifetimeValue**
        - `status` ("predicted", required)
        - `horizonDays` (integer, required) — The window predicted: 365 days from today.
        - `transactions` (number, required) — Transaction days expected in the window, to one decimal.
        - `probabilityActive` (number, required) — The chance they are still a customer rather than gone quietly, 0 to 1: falls as the time since their last transaction grows beyond their usual gap.
        - `spend` (object | null, required) — Predicted lifetime value: what they are expected to spend in the window (Klaviyo calls it predicted CLV). Null when transactions carry no amount.
        - `lifetimeValue` (object | null, required) — `rfm.totalSpent` plus `spend`: spent so far and expected (total CLV).
      - One of: **Option 2**
        - `status` ("not_enough_data", required) — The workspace's history is too short to predict from; `prediction.reason` on `GET /v1/reports/rfm` says what is missing.
    - `dates` (map<string, string>, required) — Named calendar dates, e.g. `birthday`, as `YYYY-MM-DD` or `--MM-DD`.
    - `attributes` (map<string, object>, required) — Custom attributes, keyed by attribute name.
    - `consent` (ContactConsent, required) — Consent on each channel.
      - `email` (boolean, required) — Whether the contact has consented to email.
      - `push` (boolean, required) — Whether the contact has consented to push.
    - `createdAt` (string, required, date-time)
    - `updatedAt` (string, required, date-time)
  - `journeyEnrollmentId` (string, required, uuid)
  - `triggerEventId` (string | null, required, uuid)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "journey.enrolled",
  "occurredAt": "2026-10-01T09:30:00.000Z",
  "data": {
    "journey": {
      "id": "0192f3a4-3d5e-7a7f-8c43-6b8c9d0e1f2a",
      "name": "Welcome series"
    },
    "contact": {
      "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
      "externalId": "customer-4821",
      "email": "olivia@example.com",
      "firstName": "Olivia",
      "lastName": "Bennett",
      "phone": "+447700900123",
      "timezone": "Europe/London",
      "country": "GB",
      "locale": "en-NG",
      "rfm": {
        "group": "loyal",
        "recency": 3,
        "frequency": 4,
        "monetary": 5,
        "purchaseCount": 6,
        "totalSpent": {
          "currency": "USD",
          "value": 412.5
        },
        "lastPurchasedAt": "2026-03-02T18:20:00.000Z"
      },
      "purchaseCycle": {
        "pattern": "regular",
        "usualDaysBetweenPurchases": 30,
        "lastPurchasedOn": "2026-03-02",
        "expectedNextPurchaseOn": "2026-04-01",
        "daysSinceLastPurchase": 52,
        "overdueRatio": 1.73,
        "cycleStatus": "overdue",
        "reason": "Usually transacts every 30 days; it's been 52."
      },
      "predictedValue": {
        "status": "predicted",
        "horizonDays": 365,
        "transactions": 4.2,
        "probabilityActive": 0.61,
        "spend": {
          "currency": "USD",
          "value": 289
        },
        "lifetimeValue": {
          "currency": "USD",
          "value": 702
        }
      },
      "dates": {
        "birthday": "1992-03-14"
      },
      "attributes": {
        "plan": "pro",
        "favourite_spice": "smoked paprika",
        "orders": 3
      },
      "consent": {
        "email": true,
        "push": false
      },
      "createdAt": "2026-09-12T08:15:00.000Z",
      "updatedAt": "2026-10-01T09:30:00.000Z"
    },
    "journeyEnrollmentId": "0192f3a4-4e6f-7b80-9d54-7c9d0e1f2a3b",
    "triggerEventId": "0192f3c0-0a1b-7c2d-8e3f-4a5b6c7d8e9f"
  }
}
```

## `message.delivered`

The provider confirmed delivery. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.delivered", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)
  - `providerMessageId` (string, required)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.delivered",
  "occurredAt": "2026-10-01T09:31:04.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "delivered",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "deliveredAt": "2026-10-01T09:31:04.000Z",
      "openedAt": null,
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    },
    "providerMessageId": "0100019290c1a2b3-example-000000"
  }
}
```

## `message.bounced`

Delivery failed permanently (a hard bounce); the address is now suppressed. `message.bounce` says when and why: `type` (`mailbox_not_found`, `mailbox_full`, `suppressed` or `general`) and `detail`, the receiving server's reply. A soft bounce is `message.failed` with `message.failure.reason` `transient_bounce`. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.bounced", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)
  - `providerMessageId` (string, required)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.bounced",
  "occurredAt": "2026-10-01T09:31:05.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "bounced",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "deliveredAt": null,
      "openedAt": null,
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": {
        "occurredAt": "2026-10-01T09:31:05.000Z",
        "type": "mailbox_not_found",
        "detail": "smtp; 550 5.1.1 user unknown"
      },
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    },
    "providerMessageId": "0100019290c1a2b3-example-000000"
  }
}
```

## `message.complained`

The recipient marked it as spam; the address is now suppressed. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.complained", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)
  - `providerMessageId` (string, required)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.complained",
  "occurredAt": "2026-10-01T11:40:00.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "complained",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "deliveredAt": "2026-10-01T09:31:04.000Z",
      "openedAt": null,
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": "2026-10-01T11:40:00.000Z",
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    },
    "providerMessageId": "0100019290c1a2b3-example-000000"
  }
}
```

## `message.opened`

The first tracked open of an email, which may be automated: Apple Mail Privacy Protection fetches images whether or not the message is read, Gmail's prefetch fetches them on delivery, and mail security scanners check messages. Check `message.openedByMachine`. No event follows a later open or click by a person, which clears `openedByMachine` and moves `openedAt` to its time: reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.opened", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.opened",
  "occurredAt": "2026-10-01T10:02:00.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "delivered",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "deliveredAt": "2026-10-01T09:31:04.000Z",
      "openedAt": "2026-10-01T10:02:00.000Z",
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    }
  }
}
```

## `message.clicked`

The recipient clicked (first click only). `url` is the email link followed; null for a push tap. A machine's click (a mail security scanner, a link preview) is not one: it only sets `clickedByMachine` on the message. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.clicked", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)
  - `url` (string | null, required)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.clicked",
  "occurredAt": "2026-10-01T10:02:30.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "delivered",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "deliveredAt": "2026-10-01T09:31:04.000Z",
      "openedAt": "2026-10-01T10:02:00.000Z",
      "openedByMachine": false,
      "clickedAt": "2026-10-01T10:02:30.000Z",
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    },
    "url": "https://acme-shop.com/autumn"
  }
}
```

## `message.failed`

Sending broke and will not be retried: the provider refused it, the email soft-bounced, or a problem on Kirora's side stopped it (`not_sent`, never caused by your side). `message.failure.reason` says which. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.failed", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.failed",
  "occurredAt": "2026-10-01T09:45:00.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "failed",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": null,
      "deliveredAt": null,
      "openedAt": null,
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": {
        "occurredAt": "2026-10-01T09:45:00.000Z",
        "reason": "not_sent"
      },
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    }
  }
}
```

## `message.skipped`

A guard stopped it before sending: no consent, a suppressed address, no device, a message limit, a suspended workspace, or a cancel. It also ends a transactional `fallbackOrder` fallback the first channel made unnecessary (`fallback_not_needed`), which is not a failure. `message.skip.reason` says which. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.skipped", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.skipped",
  "occurredAt": "2026-10-01T09:31:00.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "skipped",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": null,
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": null,
      "deliveredAt": null,
      "openedAt": null,
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": {
        "occurredAt": "2026-10-01T09:31:00.000Z",
        "reason": "suppressed",
        "suppressionReason": "unsubscribed"
      },
      "createdAt": "2026-10-01T09:30:58.000Z"
    }
  }
}
```

## `message.sent`

The message was handed to the email provider or the push service, for every kind of message (`message.messageType` says which). `providerMessageId` is the email provider's id; null for push. Reconcile with `GET /v1/messages/{id}`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("message.sent", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `message` (OutboundMessage, required)
    - `id` (string, required, uuid)
    - `messageType` (string, required, one of `marketing`, `transactional`) — `marketing` (from `campaign` or `journey`) or `transactional` (neither).
    - `channel` (string, required, one of `email`, `push`)
    - `status` (string, required, one of `queued`, `sending`, `skipped`, `sent`, `failed`, `delivered`, `bounced`, `complained`) — Where the message is in delivery. `sent`: the provider took it and its delivery or bounce has not come back. An email still `sent` 24 hours after `sentAt` will most likely never get one: the provider retries delivery for about half a day, then reports a bounce if it gave up. It stays `sent`, as the provider never said otherwise; show it as "No delivery receipt".
    - `campaign` (object | null, required) — The campaign it came from; null for any other message.
      - `id` (string, required, uuid)
      - `name` (string, required) — The campaign's current name.
    - `journey` (object | null, required) — The journey it came from, deleted or not; null for any other message.
      - `id` (string | null, required, uuid) — Null once the journey is deleted.
      - `name` (string | null, required) — The journey's current name; null once it is deleted.
      - `deleted` (boolean, required) — The journey was deleted after sending this. Its messages and their counts stay; nothing names the journey any more.
      - `enrollmentId` (string, required, uuid) — The enrollment that sent it.
      - `stepId` (string, required) — The id of the step that sent it.
    - `template` (object | null, required) — The stored template and published version it was sent from; null for inline content.
      - `id` (string, required, uuid)
      - `version` (integer, required, min > 0)
    - `copy` (object | null, required) — Set on a `cc` or `bcc` copy; null on the message itself.
      - `kind` (string, required, one of `cc`, `bcc`)
      - `of` (string, required, uuid) — The message it is a copy of.
    - `language` (string | null, required) — The translation an email went out in, by language tag (`translations` on its content); null for the main email, for push, and before it is sent.
    - `contact` (object | null, required) — Who it was for; null when the contact was deleted, or the message passed the retention period: it no longer names anyone.
      - `id` (string, required, uuid)
      - `externalId` (string | null, required)
      - `email` (string | null, required) — The contact's email now, which may differ from `recipientEmail`.
      - `firstName` (string | null, required) — The contact's first name now.
      - `lastName` (string | null, required) — The contact's last name now.
    - `recipientEmail` (string | null, required) — The email address the message went to, frozen at the first attempt; null until then, and for push.
    - `simulated` (boolean, required) — Sent to a reserved test address (`example.com` and the like): it passed every check a real send does but was never handed to the provider. Any outcome was simulated from the address, as `bounce@example.com` simulates a bounce.
    - `correlationId` (string | null, required) — The reference a transactional send carried; null otherwise.
    - `sendAt` (string | null, required, date-time) — When a timed transactional send is due; null for one sent at once.
    - `sentAt` (string | null, required, date-time) — When it was handed to the provider.
    - `deliveredAt` (string | null, required, date-time) — When the provider confirmed delivery.
    - `openedAt` (string | null, required, date-time) — First open, when tracked: a person's first open or click, or a machine's open while only a machine has opened it.
    - `openedByMachine` (boolean, required) — Only a machine has opened it so far: a mail app fetched its images with no reader (Apple Mail Privacy Protection, Gmail's prefetch on delivery) or a mail security scanner checked it. A click or a later open by a person clears it.
    - `clickedAt` (string | null, required, date-time) — A person's first click, when tracked.
    - `clickedByMachine` (boolean, required) — A machine followed one of its links: a mail security scanner checking it on delivery, a link preview. Such a click sets no `clickedAt` and sends no webhook.
    - `complainedAt` (string | null, required, date-time) — When the recipient marked it as spam (the first complaint); null for a simulated one.
    - `bounce` (object | null, required) — The hard bounce: set when `status` is `bounced`; null otherwise. A soft bounce is a failure with reason `transient_bounce`.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `type` (string, required, one of `mailbox_not_found`, `mailbox_full`, `suppressed`, `general`) — Why: `mailbox_not_found`, `mailbox_full`, `suppressed` (the provider refuses the address), or `general` for any other reason.
      - `detail` (string | null, required) — The receiving server's reply, such as `smtp; 550 5.1.1 user unknown`; null for a simulated bounce.
    - `openTracked` (boolean | null, required) — Whether the email carried the open pixel: false when the workspace turned open tracking off or the contact is in a country that needs consent for it (the EEA and the UK), so a missing open means not tracked, not unopened. Null for push, for an email not yet sent, and for email sent before this was recorded (13 November 2026).
    - `clickTracked` (boolean | null, required) — Whether the email carried click redirects, for the same reasons as `openTracked`.
    - `failure` (object | null, required) — Set when `status` is `failed`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Why sending broke, such as `provider_rejected` (the provider refused the content) or `transient_bounce`. `not_sent`: a problem on Kirora's side stopped it; nothing in your content, audience or setup caused it, and Kirora is alerted. In rare cases the provider may have delivered it before the problem.
    - `skip` (object | null, required) — Set when `status` is `skipped`; null otherwise.
      - `occurredAt` (string, required, date-time) — When it happened.
      - `reason` (string, required) — Which guard stopped it before sending, such as `suppressed`, `consent_missing` or `cancelled`; `fallback_not_needed`: a transactional `fallbackOrder` fallback whose first channel arrived; `plan_limit_reached`: a fallback the plan had no room for when it was due; `sending_review_required`: email from a sending domain Kirora has not approved yet.
      - `suppressionReason` (string | null, required, one of `manual`, `imported`, `unsubscribed`, `bounced`, `complained`, `complained_transactional`) — With `suppressed`: why the address is blocked: `unsubscribed`, `bounced`, `complained`, `complained_transactional`, `manual` or `imported`. Null otherwise.
    - `createdAt` (string, required, date-time)
  - `providerMessageId` (string | null, required)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "message.sent",
  "occurredAt": "2026-10-01T09:31:00.000Z",
  "data": {
    "message": {
      "id": "0192f3b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
      "messageType": "marketing",
      "channel": "email",
      "status": "sent",
      "campaign": {
        "id": "0192f3d3-5e6f-7071-8c83-9e0f1a2b3c4d",
        "name": "October newsletter"
      },
      "journey": null,
      "template": null,
      "copy": null,
      "language": null,
      "contact": {
        "id": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
        "externalId": "customer-4821",
        "email": "olivia@example.com",
        "firstName": "Olivia",
        "lastName": "Bennett"
      },
      "recipientEmail": "olivia@example.com",
      "simulated": false,
      "correlationId": null,
      "sendAt": null,
      "sentAt": "2026-10-01T09:31:00.000Z",
      "deliveredAt": null,
      "openedAt": null,
      "openedByMachine": false,
      "clickedAt": null,
      "clickedByMachine": false,
      "complainedAt": null,
      "bounce": null,
      "openTracked": true,
      "clickTracked": true,
      "failure": null,
      "skip": null,
      "createdAt": "2026-10-01T09:30:58.000Z"
    },
    "providerMessageId": "0100019290c1a2b3-example-000000"
  }
}
```

## `journey.action_reached`

A journey reached a webhook action naming this endpoint; `data` is what the step was given. It is deliberately slim, carrying ids rather than the journey and contact: fetch them with `GET /v1/journeys/{id}` and `GET /v1/contacts/{id}`.

Arrives without a subscription: it can't be listed in a webhook's `events`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("journey.action_reached", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `journeyId` (string, required, uuid)
  - `journeyEnrollmentId` (string, required, uuid)
  - `journeyStepId` (string, required) — The id of the action step.
  - `contactId` (string, required, uuid)
  - `data` (map<string, any>, required)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "journey.action_reached",
  "occurredAt": "2026-09-30T09:00:00.000Z",
  "data": {
    "journeyId": "0192f3a4-3d5e-7a7f-8c43-6b8c9d0e1f2a",
    "journeyEnrollmentId": "0192f3a4-4e6f-7b80-9d54-7c9d0e1f2a3b",
    "journeyStepId": "notify-crm",
    "contactId": "0192f3a1-7c2e-7d4b-9a10-3e5f6a7b8c9d",
    "data": {
      "tier": "gold"
    }
  }
}
```

## `webhook.test`

A test delivery to check an endpoint, sent by `POST /v1/webhooks/{id}/test` or from the dashboard.

Arrives without a subscription: it can't be listed in a webhook's `events`.

- `eventId` (string, required, uuid) — Stable across retries of the same event: deduplicate on it.
- `eventType` ("webhook.test", required)
- `occurredAt` (string, required, date-time) — When Kirora queued the event, which can be after the time in its data (a provider's delivery report, say).
- `data` (object, required)
  - `webhookId` (string, required, uuid)

Example payload:

```json
{
  "eventId": "01a0f2cf-4444-7555-8666-777788889999",
  "eventType": "webhook.test",
  "occurredAt": "2026-09-30T09:00:00.000Z",
  "data": {
    "webhookId": "01a0f2ce-eeee-7fff-8000-111122223333"
  }
}
```
