Webhooks

Webhooks send an HTTP POST to your URL when something happens in Event Temple.

Available events:
leads.definite: a booking moves to Definite
event.created: an event is created
event.updated: an event is updated
event.deleted: an event is deleted
document.signed: a document is signed
document.shared: a document is shared


There are no webhooks yet for bookings being created or changing stage, or for contacts, accounts or custom fields.

Setting up a webhook
Go to Settings > Developers > Webhooks for the property, and enter:

Target URL: a public HTTPS URL. Private and internal addresses are rejected.
Event type
Secret (optional, up to 60 characters): used to sign each delivery. We strongly recommend setting one.

Webhooks are set up per property.

Payload {"hook": { "event_type": "event.updated" }, "data": { "...": "the event, in the same format as the API" }}
Verifying the signature
If the webhook has a secret, each delivery includes an ET-Signature header. It holds a hex-encoded HMAC-SHA1 of the raw request body, using your secret.

Compute the signature over the raw body exactly as received. If you parse and re-serialize the JSON first, the signature won't match.


Responses, retries and suspension
Return any 2xx status to confirm delivery.


If your endpoint returns another status or can't be reached, we retry and ultimately suspend after too many retries. If your endpoint returns 410 Gone, the webhook is suspended.


To resume a suspended webhook, fix your endpoint, then reactivate the webhook in Settings > Developers > Webhooks. Events that happened while it was suspended aren't resent.


Did this page help you?