Help

Webhooks: tell your other systems about unsubscribes and bounces

A webhook is a message Sendsational sends to an address on your side when something changes, so your shop’s records match ours. You choose which changes: someone subscribed, unsubscribed, changed consent, bounced or complained. Every request is signed, and a failed one is tried again over about two days.

Last updated

Add an endpoint

  1. Open Settings > Webhooks. Only owners and admins can add webhooks.
  2. Under Add an endpoint, type the address under Send to. It must accept a POST.
  3. Add a Note (optional) to remember what it is for.
  4. Under When, tick the changes to send (listed below).
  5. Press Add endpoint. The signing secret is shown once: give it to whoever builds the receiving side, so they can check each request really came from Sendsational. How to check the signature.
ChoiceEventWhen
Subscribedcontact.subscribedSomeone subscribed to email.
Unsubscribedcontact.unsubscribedSomeone unsubscribed. Use this to keep your shop’s records right.
Consent changedcontact.consent_changedAny consent change, on any channel. Includes the two above.
Bouncedemail.bouncedAn email could not be delivered. A dead address is taken off the list.
Complainedemail.complainedSomeone marked an email as spam. They are unsubscribed.

Test and watch it

  • Send a test event sends a sample at once and tells you whether it got through.
  • Latest deliveries lists recent requests and their answers.
  • Switch off stops sending to the endpoint; Switch on starts again.

An endpoint that fails 20 times over 24 hours with no success in between is switched off by itself.

Questions

What counts as a success?

Any 2xx answer. Anything else, or no answer, is tried again: up to 8 tries over about two days. Each retry carries the same id, so the receiving side can ignore repeats.

Can a flow call a webhook?

Yes. A flow’s webhook step sends a signed event to one of these endpoints when someone reaches it. See flow steps.

All help topics · API reference