Webhooks that tell your servers what changed, by id
Add an https endpoint and choose the events it wants. Contact sends each one in the suite's envelope, signed, and retries until your server answers with a 2xx. No event carries an address or a name: your server looks up what it needs by id.
Use them to keep your own systems in step: turn off product news in your app's settings when someone stops it here, flag an account whose address bounced, or open a ticket when a reply comes in. Because a payload carries ids, your server asks Contact's API for anything else it needs, with a key it controls.
X-Programmable-Signature: t=…,v1=…
{
"id": "whd_5e0a",
"type": "contact.unsubscribed",
"created_at": "2026-11-23T09:12:44Z",
"data": { "contact_id": "…", "topic": "newsletter", "how": "one_click" }
}What it does
Webhooks in Programmable Contact
The events
contact.created, contact.subscribed, contact.unsubscribed, contact.erased, lead.created, lead.confirmed, import.staged, message.bounced, message.complained, campaign.finished and reply.received.
Signed
X-Programmable-Signature (t=…, v1=…), X-Programmable-Id and X-Programmable-Event, with the four-field envelope: id, type, created_at, data.
Retried
On anything but a 2xx: after 1 minute, 5, 30, 2 hours and 6 hours. Twenty failures in a row turn the endpoint off.
Redeliver by hand
The Webhooks page lists deliveries and lets you send one again.
Ids only
Events carry ids and counts. No address, name, note, field value or reply text ever leaves through a webhook.
Safe addresses
An endpoint must be https and can't point at a private network; the connection is pinned to the checked address and redirects aren't followed.
How it works
- 1
Add an endpoint
On the Webhooks page: its https address and the events it wants. Copy the signing secret: it's shown once.
- 2
Verify each delivery
Check the signature against the secret and the timestamp before trusting the body.
- 3
Handle it once
Use X-Programmable-Id to ignore a delivery you already handled.
- 4
Read the catalog
The event catalog is at /docs/api/events.json.
Good to know
- Not instant
- Deliveries go out on Contact's scheduled run, so they arrive shortly after the change.
- No addresses
- If you need an address, look the contact up by id with a read key.
- https only, public only
- An endpoint on a private network or this machine is refused, so a webhook can't be pointed at something inside.
Questions
How do I change the signing secret?
Make a new secret on the endpoint's row. The old one keeps signing for a day so you can switch over without dropping a delivery.
Why don't events include the email address?
So a webhook log, a queue or a third-party tool in between never holds people's addresses. Ids are enough to look a person up with a key.
What happens if my server is down?
Contact retries five more times over about nine hours, then marks the delivery failed. You can redeliver it from the Webhooks page.
Can I get an event when someone replies?
Yes: reply.received, with the reply, contact and message ids, the message kind and whether it was automatic or asked to stop.
Every plan has all of it.
Plans differ only in how many contacts you keep and how much email you send.