> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# Subscribing to webhooks

A webhook endpoint belongs to **one application**. EVVA POSTs to it every event that application may see — for
every creator it is granted — in the same envelope the [event feed](/event-feed) and the [realtime channel](/realtime)
use. You do not need an endpoint per creator: each event names its `creatorId`.

This page sets up delivery: an HTTPS endpoint of yours, registered for your application in the Partner Hub, that
answers each delivery quickly. For what webhooks guarantee and how they compare with the realtime channel and the
event feed, see the [webhooks overview](/webhooks/overview).

## 1. Prepare an HTTPS endpoint

EVVA checks the URL when it is registered and again, against the resolved address, every time it connects.

| Requirement | Rule                                                                                                                                 |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Scheme      | `https://` only                                                                                                                      |
| Port        | 443 or 8443                                                                                                                          |
| Host        | A public DNS name: no IP literal of a private or reserved range, no single-label or special-use name, no `user:password@` in the URL |
| Connect     | Accept the connection within 3 seconds                                                                                               |
| Answer      | Answer within 10 seconds with any `2xx` — acknowledge first, process afterwards                                                      |
| Body        | EVVA sends at most 64 KiB per event; `data` carries references, never message text                                                   |

## 2. Register the endpoint in the Partner Hub

The agency owner registers endpoints; applications cannot create or change them.

#### Open the application's webhooks

In the [Partner Hub](https://partner.evvahub.com), open **Integrations → Webhooks** and choose the application.

#### Add the endpoint

Enter the **HTTPS URL**, tick the **Event types** it should receive (at least one), and press **Add endpoint**.

#### Store the signing secret

The **Webhook signing secret** (`whsec_…`) is shown **once**. Store it in your secret manager; you need it to
[verify every delivery](/webhooks/signatures).

An endpoint can also be narrowed to a list of up to 100 creators. A filter only ever narrows: whether your
application may see a creator's event is decided again at every delivery.

| Limit                     | Default                                             |
| ------------------------- | --------------------------------------------------- |
| Endpoints per application | 5 (at most 10)                                      |
| Endpoints per agency      | 10 to 50, rising with the number of active creators |

## 3. Answer each delivery

Every delivery is one event in the v1 envelope, with three [Standard Webhooks](https://www.standardwebhooks.com)
headers:

**`A delivery (example values)`**

```http title="A delivery (example values)"
POST /webhooks/evva HTTP/1.1
Content-Type: application/json
webhook-id: evt_01EXAMPLE
webhook-timestamp: 1767225600
webhook-signature: v1,EXAMPLE_BASE64_HMAC_SHA256=

{
  "eventId": "evt_01EXAMPLE",
  "type": "message.received",
  "schemaVersion": 1,
  "occurredAt": "2026-12-01T10:00:00.000Z",
  "publishedAt": "2026-12-01T10:00:00.120Z",
  "applicationId": "app_EXAMPLE",
  "agencyId": "agency_EXAMPLE",
  "creatorId": "creator_EXAMPLE",
  "conversationId": "conversation_EXAMPLE",
  "correlationId": null,
  "cursor": "whc1.EXAMPLE",
  "data": { "messageId": "message_EXAMPLE", "senderRole": "USER", "buyerRef": "buyer_EXAMPLE" }
}
```

| Your answer                                     | What EVVA does                                                                                       |
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `2xx`                                           | Delivered.                                                                                           |
| `429`, `5xx`, a timeout or a connection failure | Retries later, honouring your `Retry-After` up to one hour.                                          |
| `410` or any other `4xx`                        | Stops retrying **this event**; it goes to the dead-letter list, from which the agency can replay it. |

> **Note**
>
> A webhook's `cursor` starts with `whc1.` and identifies this event only. It is for correlation: the feed, consumer
> groups and realtime resume refuse it. To resume reading, use the cursors the [event feed](/event-feed) gives you.

## Endpoint states

| State        | Meaning                                                                                                                        |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| **Active**   | Receives deliveries.                                                                                                           |
| **Paused**   | Paused by the agency. Events are kept and delivered on resume, within the feed's 7-day retention.                              |
| **Disabled** | Turned off after 72 hours of failures. When the agency resumes it, EVVA probes the endpoint and then ramps delivery up slowly. |
| **Deleted**  | Final. Delivery stops at once.                                                                                                 |

Your application is told when its endpoint is failing: see
[`webhook.endpoint_unreachable`](/webhooks/delivery#when-your-endpoint-is-down).

## Next steps

#### [Verify signatures](/webhooks/signatures)

Check every delivery before you act on it.

#### [Delivery, retries and replay](/webhooks/delivery)

What happens when your endpoint is slow or down.

#### [Event catalogue](/webhooks/events)

Every event type and its data.

#### [Event feed](/event-feed)

Replay anything from a cursor.