# Events

The events Valeron can send, and what each one carries.

Pick the events an endpoint receives when you create it, or use `["*"]` for all of them. Every event uses the same envelope: `id`, `type`, `created_at`, `organization_id` and `data`. See [Webhooks](/docs/webhooks/).

| Event | When it is sent | `data` |
|---|---|---|
| `recording.analyzed` | The analysis of a call with a contact is stored, including calls you sent to `POST /v1/analyses`. | `recording`, `analysis` and `contact`, plus `score` (0 to 100), `is_next_step_secured` and `objection_count`. |
| `contact.created` | A contact is created by any route: the app, the API, an import, a CRM sync or `POST /v1/analyses`. Matches and merges raise nothing. | `contact` and `source` (`manual`, `api`, `import` or the CRM's key). |
| `contact.updated` | A contact's fields, emails, phones, owner, tags or stage change. Changes are combined: at most one event per contact each minute. Not sent for the creation itself. | `contact` and `changed_fields` (field keys). |
| `contact.stage_changed` | A contact moves to another pipeline stage. | `contact`, `from_stage` (null when it had none), `to_stage` and `to_stage_type`. |
| `meeting.booked` | A meeting with a contact appears on a member's connected calendar. | `contact`, `title` and `starts_at`. |
| `message.received` | A contact sends a text or an email. | `contact`, `channel` (`sms` or `email`) and `body`. |
| `payment.succeeded` | A payment from a contact is first collected (Stripe, Whop, Commas or a manual payment). Once per payment. | `payment` and `contact` (null when the payment has no contact). |
| `ping` | You call `POST /v1/webhook-endpoints/{endpoint_id}/test`. Never retried. | `endpoint_id`. |

`contact` has the same shape as `GET /v1/contacts/{record_id}`, `payment` as `GET /v1/payments/{payment_id}`, `recording` as `GET /v1/recordings/{recording_id}` and `analysis` as `GET /v1/recordings/{recording_id}/analysis` (the latest version), as they are when the delivery is made.

## Example: recording.analyzed

```json
{
  "id": "evt_01JEX5B6Z9",
  "type": "recording.analyzed",
  "created_at": "2026-12-03T14:31:02Z",
  "organization_id": "org_01JEX1A4C7",
  "data": {
    "score": 78,
    "is_next_step_secured": true,
    "objection_count": 2,
    "recording": { "id": "rec_01JEX4S9M8", "title": "Discovery call with Jordan Rivera" },
    "analysis": { "summary": "Jordan wants to replace their spreadsheet pipeline before Q1." },
    "contact": { "id": "ct_01JEX3QW2B", "updated_at": "2026-12-03T14:30:58Z" }
  }
}
```

The objects are shortened here. For their full shape, read [Get a recording](/docs/api-reference/recordings/get-recording/) and [Get an analysis](/docs/api-reference/recordings/get-analysis/).

## Events are not a log

Events can arrive more than once and out of order. Read [Delivery and retries](/docs/webhooks/delivery/) before you build on them.
