Booking webhooks

Send every booking event to your own system as a signed JSON request.

Last updatedNovember 18, 2026

A webhook lets your CRM, automation tool or own code hear about your Yoya bookings the moment they change. You can use it next to Yoya's emails, or instead of them.

Set it up

  1. In the dashboard, open Settings, then Notifications.
  2. Paste a public https:// URL under Webhook and save. Yoya shows a signing secret.
  3. Press Send a test event. Yoya POSTs a ping event and tells you what your endpoint answered.
  4. Optional: switch off Email me about my bookings if the webhook replaces them. With a webhook saved you can also switch off Email my guests and send guests your own emails from your domain. Each event carries booking.guestManageUrl, the guest's own page to cancel or reschedule; include it in your email.

You can do the same from an AI assistant connected to Yoya, with the get_notifications and set_notifications tools.

Events

  • booking.created: a guest booked, after their confirmation went out.
  • booking.rescheduled: the booking moved. The event carries the new booking and data.previous with the old time. Rescheduling creates a new booking id.
  • booking.canceled: canceled by you or the guest, or the guest declined the calendar invite. Includes data.canceledBy and data.reason.

The request

A POST with Content-Type: application/json, a Yoya-Event-Id header and a Yoya-Signature header. The body looks like this:

{
  "id": "evt_6f1c0e2a9b7d4c58a1e3f2b4c6d8e0a1",
  "type": "booking.created",
  "createdAt": "2026-11-18T15:04:05.000Z",
  "data": {
    "booking": {
      "id": "8b0c…",
      "status": "confirmed",
      "start": "2026-11-20T16:00:00.000Z",
      "end": "2026-11-20T16:30:00.000Z",
      "durationMin": 30,
      "meetingMode": "zoom",
      "meetingUrl": "https://zoom.us/j/1234567890",
      "location": null,
      "dashboardUrl": "https://yoya.ai/dashboard"
    },
    "meetingType": {
      "slug": "intro",
      "title": "Intro call",
      "timezone": "America/New_York",
      "url": "https://yoya.ai/intro"
    },
    "guest": { "name": "Sam Lee", "email": "sam@example.com", "timezone": "Europe/Paris" },
    "brief": { "purpose": "Pricing for a 10-person team", "company": "Acme" },
    "answers": { "Company size": "10" }
  }
}

brief holds what Yoya learned in the conversation and answers the answers to your required questions, keyed by the question.

Verify the signature

Yoya-Signature is t=<unix seconds>,v1=<hex>, where the hex is the HMAC-SHA256 of <t>.<raw body> with your signing secret. Compute it over the raw body, compare in constant time, and reject old timestamps.

import crypto from "node:crypto";

// rawBody: the request body exactly as received, before JSON parsing.
function verifyYoya(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const expected = crypto
    .createHmac("sha256", secret)
    .update(`${parts.t}.${rawBody}`)
    .digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return (
    fresh &&
    expected.length === parts.v1.length &&
    crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1))
  );
}

Retries

Answer with any 2xx within 10 seconds. Anything else, or no answer, is retried with backoff, up to five attempts. A retry has the same body and the same event id, so use the id to ignore duplicates. Redirects are not followed.

Change or remove it

New secret replaces the signing secret at once. Clearing the URL and saving stops all deliveries, including retries still waiting.