Get notified with webhooks

API & integrationsUpdated

Send contact, form and campaign events to your own server or another tool as they happen.

A webhook tells another tool the moment something changes in EmailFig: someone subscribes, a tag is added, a form is submitted. You give EmailFig a URL, pick the events you care about, and EmailFig sends them there.

Add an endpoint

  1. Go to Settings → Integrations → Webhooks and click Add endpoint.
  2. Paste the Endpoint URL (it has to start with https://) and add a Description if you like.
  3. Tick the events you want, or click Select all events, then click Add endpoint. If asked to confirm it’s you, enter the code we send you.
  4. On the endpoint’s page, click Send test event and check it arrives.

The Add a webhook endpoint form: the Endpoint URL and Description fields, Select all events, and checkboxes for contact, list and tag, form and campaign events.

Zapier, Make, n8n and other tools add their own endpoints through the API. They’re listed under Created by integrations. Deleting one, or revoking the tool’s API key, stops it receiving events.

Events

Event Sent when
contact.created a contact is added
contact.updated a contact’s email address, name or custom fields change
contact.deleted a contact is deleted
contact.unsubscribed / contact.resubscribed a contact opts out (including by marking an email as spam), or back in
contact.confirmed a contact confirms a double opt-in
contact.cleaned an address bounces for good
contact.list_subscribed / contact.list_unsubscribed a contact joins or leaves a list
contact.tag_added / contact.tag_removed a tag is added or removed
form.submitted someone signs up through a form (before they confirm, on a double opt-in list)
campaign.sent a campaign finishes sending

Bulk actions send one event per contact. A CSV import and erasing a contact send nothing. New events and fields may be added, so ignore anything you don’t recognise. Existing fields won’t be removed or renamed without notice.

What arrives

Each request is a JSON array of up to 100 events:

[
  {
    "id": "evt_...",
    "type": "contact.tag_added",
    "timestamp": "2026-09-25T12:00:00.000000Z",
    "origin": "ui",
    "data": { "contact": { "id": "con_...", "email_address": "ada@example.com" }, "tag": { "id": "tag_...", "name": "vip" } }
  }
]
  • An event can occasionally arrive twice or out of order, so skip any id you’ve already handled and order by timestamp.
  • origin says who made the change: ui, api, mcp (a chat app), recipient (the contact, through a form or email link) or system.

If your tool writes back to EmailFig, writing back the same values is safe: contact.updated only fires when a value really changes. To ignore your tool’s own changes, mark them (with a custom field your tool sets, say) rather than skipping every api event, which would also skip other tools’ changes.

Check the signature

Requests are signed with the Standard Webhooks spec, in the webhook-id, webhook-timestamp and webhook-signature headers, so any Standard Webhooks library can verify them. Get the secret from the endpoint’s page with Reveal secret. If it leaks, click Make a new secret; the old one keeps working for 24 hours.

Answer quickly

Reply with any 2xx status within 5 seconds, then do the work. Anything else, including a redirect, counts as a failure. Reply 410 to turn the endpoint off, or 429 with a Retry-After header to have the events sent later.

If your endpoint is down

EmailFig retries each failed request for 24 hours. If every attempt fails for a day, it turns the endpoint off and emails you. Events from while an endpoint is off (or turned off yourself with Turn off) aren’t kept: before you click Turn back on, copy the catch-up request on the endpoint’s page, which fetches the contacts changed or deleted since events stopped.

Under Deliveries, the endpoint’s page lists the last 7 days of deliveries. Click a time to see what was sent and what came back, or use Send again from its menu to resend a failed one.

Where to go next

Stuck on something? Email contact@emailfig.com and a real person will help.

Read the API reference →