N Docs
← Back to site

What a delivery looks like

1 min readUpdated November 23, 2026
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#

HeaderMeaning
X-NL-EventThe event type, so you can route before parsing
X-NL-DeliveryThis delivery’s id; differs on each retry
X-NL-Signaturet= the time and v1= the signature. See Check the signature.

Body fields#

FieldMeaning
idThe event’s id. The same on every retry; use it to skip duplicates.
typeWhat happened
createdWhen, in Unix seconds
client_id, external_idThe client it’s about (0 and null for your own)
sourceedge or wp
dataThe object after the change
previousOnly 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.