What a delivery looks like
POST /hooks/links
Content-Type: application/json
X-NL-Event: link.updated
X-NL-Delivery: dlv_381
X-NL-Signature: t=1794938110,v1=5f2c…
{
"id": "evt_1204",
"type": "link.updated",
"created": 1794938110,
"client_id": 12,
"external_id": "user_42",
"source": "edge",
"data": { "id": 991, "slug": "spring", "short_url": "https://go.acmebakery.example/spring", … },
"previous": { "destination_url": "https://acmebakery.example/spring" }
} previous holds the fields that changed, as they were. source is edge for things that happened on Bunny (API changes, clicks, conversions) and wp for things that happened in WordPress.
Headers#
| Header | Meaning |
|---|---|
X-NL-Event | The event type, so you can route before parsing |
X-NL-Delivery | This delivery’s id; differs on each retry |
X-NL-Signature | t= the time and v1= the signature. See Check the signature. |
Body fields#
| Field | Meaning |
|---|---|
id | The event’s id. The same on every retry; use it to skip duplicates. |
type | What happened |
created | When, in Unix seconds |
client_id, external_id | The client it’s about (0 and null for your own) |
source | edge or wp |
data | The object after the change |
previous | Only on updates: the changed fields, as they were |
Order#
Events usually arrive in the order they happened, but retries can arrive later than newer events. Use created and the object’s own updated_at when order matters, and don’t let an older event overwrite newer data.


