YouCanBookMe webhooks

YouCanBookMe webhooks are HTTP requests a booking page sends to your URL when a booking is made, rescheduled, cancelled or marked as a no-show, and as reminders before it or follow-ups after it.

How YouCanBookMe webhooks work

A webhook is an action you add to a trigger in a booking page's notifications, so your system hears about a booking without polling. You set a delay (0 sends immediately), the URL, the method (GET, PUT, POST, PATCH or DELETE), any request headers and a JSON payload. When it sends, YouCanBookMe replaces shorthand codes such as {START-ISO} and {EMAIL} with the booking's details. There's no fixed schema, and no version field or header.

YouCanBookMe has no event names, and nothing in the request names the trigger unless you write it in. Add a field such as "event": "booking_cancelled" to each action's payload, or give each trigger its own URL path. That value is your own convention: YouCanBookMe sends whatever you type.

Key facts

Signature header
None (unsigned)
How events are identified
No event field: name the trigger in your template
Body format
JSON
Agent skill
npx skills add hookdeck/webhook-skills --skill youcanbookme-webhooks

Verify YouCanBookMe webhooks →

Setting up YouCanBookMe webhooks

  • On the booking page, click Edit Settings, then Additional options, then Notifications. Open the trigger you want, click +, then Webhook, and fill in the delay, URL, method and payload. The help articles disagree on whether webhooks are on all plans or only Professional and Teams, so check yours.
  • In the webhook's request headers, add a key and value pair with a long random value. Your endpoint compares that header on each request.
  • To test locally, run hookdeck listen 3000 youcanbookme, use the URL it prints as the webhook URL, and make a test booking.
  • To resend, open the booking's Details in your bookings dashboard, click Notifications timeline, then Resend. You get 2 resends per notification, for a future booking or one that ended in the past 2 weeks.

Delivery behaviour

  1. Your outage can lose a booking's webhook

    YouCanBookMe's help articles describe no automatic retries, and a 2021 staff forum reply said there was no retry policy. Resend failed notifications by hand from the booking's notifications timeline, within its limits.

    Recover missed notifications →
  2. A cancellation looks like a new booking

    Nothing in a YouCanBookMe request names the trigger. Add an event field with a different value to each action's payload, or give each trigger its own URL path.

    Tell triggers apart →
  3. A resend repeats a booking

    Account owners, administrators and editors can resend a notification, including one that succeeded. Put {BOOKING-ID} and your event value in the payload, and skip pairs you've processed.

    Handle duplicates →
  4. Special characters arrive wrong

    Shorthand codes insert what the booker typed. YouCanBookMe provides {ENCODE-FOR-JSON} for the payload and {ENCODE-FOR-URL} for the URL, so use them and test with a name that has an accent and a quote mark.

    Encode special characters →

YouCanBookMe webhook best practices

  • Name the trigger in every payload. Give each action's payload an event field with its own value, or use a URL path per trigger. Otherwise a cancellation looks the same as a new booking.
  • Cover both reschedule and cancel triggers. YouCanBookMe splits rescheduling and cancelling into two triggers each, by who initiates. Add a webhook action to both, and send {RESCHEDULED-BY} or {CANCELLED-BY} if you need to know who it was.
  • Send a booking reference. Put {BOOKING-ID} or {REF} in every payload, so your handler can match a booking across triggers and skip a resend it has already processed.
  • Use {START-ISO} and {END-ISO}. The shorthand glossary has many date formats, and some are display text such as Sunday, March 3, 2019. The ISO codes are the ones to parse.
  • Use POST with a JSON payload. The docs don't say whether a GET carries the payload, and the two help articles describe the other methods differently. POST is the simplest to authenticate and parse.
  • Store the body and return 2xx first. YouCanBookMe publishes no timeout and describes no automatic retry, so don't make a request wait on other services.

In this hub

MCP events → How an agent subscribes to YouCanBookMe events as MCP events.
Verify signatures → Signature facts, verification code and common failures.
Production guide → Production problems, such as timeouts and retries, and how to handle them.
Agent skill → Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill youcanbookme-webhooks

Keep an outage on your side from losing a booking.

YouCanBookMe's docs describe no automatic retries. Event Gateway checks your header, accepts each request as it arrives, queues it and retries to your service on your schedule.

Not affiliated with YouCanBookMe. Facts are compiled from public sources and linked inline.