Webhook details: requests, signatures, events

The request your endpoint gets for each event, how to check that it came from us, retries, and every event name.

Updated

When something happens on your website, like a booking or a form message, we send a POST request to each webhook URL you added in Settings → Webhooks (in Advanced mode). Here's what that request looks like.

The request

Each event is one POST request with a JSON body. Here's an example for a message sent with a contact form. The body arrives on one line; it's spread out here to make it easier to read.

{
  "id": "dlv_9d0c3b7a1e5f2468",
  "event": "form.submitted",
  "site": {
    "id": "site_3f9a1c0b7e2d4411",
    "name": "Sunny Side Bakery",
    "site_key": "s3f9a1c0b7e2d44"
  },
  "created_at": "2026-11-22T15:04:05+00:00",
  "data": {
    "activity_id": "act_7c41e2a09b3d5f18",
    "widget": "forms",
    "kind": "form.submitted",
    "title": "Contact us: new message from Maria Lopez",
    "summary": "Your name: Maria Lopez\nEmail: maria@example.com\nPhone: (503) 555-0142\nMessage: Do you make gluten-free birthday cakes? I need one for Saturday.",
    "data": {
      "form": "contact",
      "form_name": "Contact us",
      "submission_id": "fsub_5b8e1d2c9a0f4e67",
      "fields": {
        "name": "Maria Lopez",
        "email": "maria@example.com",
        "phone": "(503) 555-0142",
        "message": "Do you make gluten-free birthday cakes? I need one for Saturday."
      },
      "name": "Maria Lopez",
      "email": "maria@example.com",
      "phone": "(503) 555-0142"
    },
    "contact_id": "con_2e6a9f1b7c3d8e40"
  }
}
  • id is the delivery's id. It stays the same if we have to send it again.
  • event is the event's name. They're all listed at the bottom of this page.
  • site is the website it came from.
  • created_at is when it happened, as an ISO 8601 time with its offset (+00:00).
  • data has the details. data.title and data.summary are the words you see in your Inbox, and data.data has the fields for that kind of event.

The headers

  • Content-Type: Always application/json.
  • User-Agent: DollarSite-Webhooks/1
  • X-DollarSite-Event: The event name, like booking.created.
  • X-DollarSite-Delivery: The delivery's id. It is also the id in the body and stays the same on every retry, so you can skip one you already handled.
  • X-DollarSite-Timestamp: When this try was sent, in Unix seconds.
  • X-DollarSite-Signature: sha256= and the HMAC-SHA256 of the timestamp, a dot and the raw body, keyed with the webhook's signing secret.

Here are the headers that came with the example above, signed with a made-up secret:

Content-Type: application/json
User-Agent: DollarSite-Webhooks/1
X-DollarSite-Event: form.submitted
X-DollarSite-Delivery: dlv_9d0c3b7a1e5f2468
X-DollarSite-Timestamp: 1795359846
X-DollarSite-Signature: sha256=d7dc9159451e9c6d336b53cb72e0243442b06b3e18da3f489dcfd2fa9c8ae9df

Checking the signature

Each webhook has its own signing secret. It's under the webhook in Settings → Webhooks (open Signing secret). Keep it private. To check that a request came from us:

  1. Take the X-DollarSite-Timestamp header and the body exactly as it arrived, before you parse the JSON.
  2. Put them together with a dot between them: the timestamp, a ., then the body.
  3. Compute the HMAC-SHA256 of that text, with your signing secret as the key, as lowercase hex.
  4. Add sha256= in front and compare it with the X-DollarSite-Signature header, using a constant-time comparison.
  5. Turn the request away if the timestamp is more than 5 minutes old, so nobody can replay an old request.

Retries

A delivery is done when your endpoint answers with a 2xx status code within 10 seconds. Anything else (another status code, a timeout, no connection) gets another try, up to 6 tries in all. Between them we wait 10 seconds, then 1 minute, then 5 minutes, then 30 minutes, then 2 hours. We don't follow redirects, so use the final URL. After the last try the delivery is marked as failed, and Recent deliveries in Settings shows what went wrong.

A delivery can arrive more than once, so use its id (or the X-DollarSite-Delivery header) to skip one you've already handled.

Every event you can get

Type * in the Events box to get them all, or list the ones you want with commas between them. A name that ends in .* gets every event from one app, like booking.*.

Forms

  • form.submitted: Someone sent a message with a form on your website.

Appointments

  • booking.created: A visitor booked an appointment and it is confirmed.
  • booking.requested: A visitor asked for an appointment that waits for your approval.
  • booking.confirmed: You approved an appointment request.
  • booking.declined: You declined an appointment request.
  • booking.cancelled: An appointment was canceled, by you or by the customer.
  • booking.no_show: You marked an appointment as a no-show.
  • booking.completed: You marked an appointment as done.
  • booking.rescheduled: An appointment moved to another time.

Table reservations

  • reservation.created: A guest reserved a table and it is confirmed.
  • reservation.requested: A guest asked for a table that waits for your approval.
  • reservation.confirmed: A reservation was confirmed (or put back after a cancel).
  • reservation.declined: You declined a reservation request.
  • reservation.seated: You marked the guests as seated.
  • reservation.completed: You marked a reservation as done.
  • reservation.no_show: You marked a reservation as a no-show.
  • reservation.cancelled: A reservation was canceled, by you or by the guest.
  • reservation.waitlist: A guest joined the waitlist for a full day.

Events & tickets

  • event.registered: Someone registered for an event (or asked to, when you approve each one).
  • event.waitlisted: Someone joined the waitlist of a full event.
  • event.promoted: Someone moved off an event's waitlist because a place opened.
  • event.paid: A ticket was paid online.
  • event.cancelled: An attendee canceled their registration.

Online shop

  • order.placed: A customer placed an order.
  • order.paid: An order was paid online.

Reviews

  • review.received: A customer left a review on your website.
  • review.private_feedback: A customer sent low-rated feedback to you privately instead of posting it.

Newsletter

  • newsletter.subscribed: Someone joined your mailing list.
  • newsletter.campaign_sent: A newsletter you wrote finished sending.

QR sign-ups

  • qr_signup.signup: Someone signed up after scanning one of your QR codes.
  • qr_signup.feedback: Someone rated their visit after scanning a feedback QR code.

AI Agent

  • chatbot.lead: A visitor left a name and email with your AI Agent.
  • chatbot.budget_80: Your AI Agent used 80% of this month's AI budget.
  • chatbot.budget_paused: Your AI Agent used this month's AI budget and takes messages until the 1st.

Visitor stats

  • analytics.visits_80: Your website reached 80% of this month's included visits.
  • analytics.visits_100: Your website reached this month's included visits (nothing is blocked).

Webhooks

  • webhook.test: You pressed Send test on this webhook.