Skip to navigation

Webhooks

Receive Calendly events on your server in real time, verify they came from Calendly, and handle retries correctly.

Calendly sends events to your server when they happen. Events include bookings, cancellations, no-shows, event type changes, meeting recaps, routing form submissions and contacts. You do not have to poll the API. To receive events, you create a webhook subscription. This page calls it a subscription.

How it works: create a subscription → an event happens, for example, someone books → Calendly sends the signed event to your callback URL in a POST request → your server verifies it, returns 2xx, and processes it.

At a glance

API basehttps://api.calendly.com
Resource/webhook_subscriptions
PlansYou can subscribe to an event only if the organization owner’s plan includes the feature that the event comes from. See Check requirements.
Your endpointYour callback URL. You send it as url, and the webhook subscription returns it as callback_url. It must be public, and you cannot change it. In one organization, subscriptions for the same user cannot share a URL.
SignatureCalendly-Webhook-Signature: t=<unix>,v1=<hex>. Verify HMAC-SHA256(key, "<t>." + raw_body).
Signing keyWrite-only. Store it when you create the subscription.
Success responseReturn 2xx. Redirects and all other status codes count as failures.
410 GoneDeletes the subscription immediately. Calendly does not retry.
Timeouts10 seconds to connect, 15 seconds to read
RetriesExponential backoff for up to 24 hours. Do not depend on exact retry timing.
Failure stateAfter 24 hours of unresolved failures, Calendly disables the subscription. To receive events again, delete it and create a new one.
Delivery handlingExpect duplicates. Do not depend on arrival order.
IdempotencyFor invitee.*, use payload.uri + event. Other event families can need a different strategy.

Get a webhook working

Follow the numbered steps to create a subscription, then receive, verify and test a delivery. If you already have webhooks working, go to Production considerations.


1. Create a subscription

To receive events, create a subscription. Give it a public callback URL and the events you want.

Before you create one: organization scope requires an organization admin or owner role. See Check requirements.

POST /webhook_subscriptions
Authorization: Bearer <token>
Content-Type: application/json
{
"url": "https://your-app.example.com/webhooks/calendly",
"events": ["invitee.created", "invitee.canceled"],
"organization": "https://api.calendly.com/organizations/<uuid>",
"scope": "organization",
"signing_key": "<A_SECRET_YOU_CHOOSE_AND_STORE>"
}

OAuth apps: omit signing_key. Calendly then signs deliveries with your app’s signing key. See Which key signs a delivery.

signing_key can be any non-empty string. Calendly does not check its strength, so use a long random value. For example, generate 32 random bytes and encode them as hex.

You can subscribe to events in six families: invitees, invitee no-shows, event types, meeting recaps, routing form submissions and contacts. Each event allows specific subscription scopes and needs a specific auth scope on your token. See the full event table on Create Webhook Subscription. It lists each event, the subscription scopes it allows, and the auth scope it needs.

Callback URL requirements

Your url must include a scheme. It must resolve to a public address.

URLResult
https://example.com/hookaccepted
http://example.com/hookaccepted
a hostname that doesn’t resolve400 — must resolve to a public address
127.0.0.1, 192.168.x.x400 — cannot be for a private network
localhost, or no scheme400 — invalid

Use HTTPS. Calendly accepts plain http://, but deliveries contain invitee personal data, such as names, email addresses and answers to booking questions. The signature proves that a delivery is authentic. It does not keep the data confidential. Over HTTP, the data crosses the network in cleartext.

One subscription per callback URL

In one organization, each callback URL can have only one subscription for each user. You get this error when you create a second subscription with the same url, organization and user. You also get it when you omit user both times:

{ "title": "Already Exists", "message": "Hook with this url already exists" }

The events, scope and group do not change this. For example, you cannot subscribe …/webhooks/calendly to invitee.created and then create a second subscription on the same URL for invitee.canceled. Put all the events on one subscription, or use different paths. A disabled subscription also keeps its URL. Delete it before you create a new subscription on the same URL.

Different organizations can use the same callback URL. A multi-account app can send the deliveries for all its customers to one endpoint. See Route deliveries in a multi-account app.

Save the right fields

A 201 response returns the subscription. Save uri and creator.

{
"resource": {
"uri": "https://api.calendly.com/webhook_subscriptions/<uuid>",
"callback_url": "https://your-app.example.com/webhooks/calendly",
"state": "active",
"retry_started_at": null,
"events": ["invitee.created", "invitee.canceled"],
"scope": "organization",
"organization": "https://api.calendly.com/organizations/<uuid>",
"user": null,
"group": null,
"creator": "https://api.calendly.com/users/<uuid>"
}
}

The names are different. The subscription calls this field creator. The delivery calls the same value created_by. The subscription has no created_by field.

signing_key is write-only. You send it when you create the subscription, and no endpoint returns it. Store it at that time, because you cannot read it back.


2. Check requirements

Webhooks are available on every plan, including Free. You can subscribe only to events from features that the organization owner’s plan includes. Create Webhook Subscription lists the events that need a feature. If the plan does not include the feature, the API returns 403 Permission Denied.

Who can create each scope

You can create a subscription at user, group or organization scope.

Subscription scopeWho can create it
userAny member, for themselves only
groupAn organization admin or owner, or an admin of that group
organizationAn organization admin or owner

If you do not have the role, the API returns:

{ "title": "Permission Denied", "message": "You do not have permission" }

To check your role, call List Organization Memberships:

curl -s "https://api.calendly.com/organization_memberships?user=<YOUR_USER_URI>" \
-H "Authorization: Bearer $CALENDLY_TOKEN" | jq '.collection[].role'

A member can subscribe to almost every event at user scope. The exception is routing_form_submission.created, which is organization-only, so members cannot subscribe to it. meeting_recap.* events are the reverse. They are user-only, so an admin must also subscribe to them at user scope.

Choose your authentication

Personal access tokenOAuth app
TokenCreate under Personal access tokensCreate an OAuth app, run the OAuth flow, and exchange the code for a token
Org / user URIGET /users/me → current_organization, uriIn the token response as organization and owner
Signing keyYou choose one when you create each subscription.Calendly generates one when you create your app. Copy it then.

A subscription that you create with an OAuth token belongs to the user who connected your app. A user-scope subscription must name that user, which is the owner in the token response.

OAuth apps: your webhook signing key is shown once. Calendly shows the client secret and the webhook signing key only when you create the app. You cannot view them again, including when you edit the app. If you lose the webhook signing key, create your subscriptions again with your own signing_key. Calendly then signs those deliveries with that key. See Which key signs a delivery.


3. What a delivery looks like

Each delivery is one JSON object with the same four top-level fields. Calendly does not batch deliveries. Each request contains one event, not an array.

{
"event": "invitee.created",
"created_at": "2026-09-21T16:45:39.000000Z",
"created_by": "https://api.calendly.com/users/<uuid>",
"payload": {
"uri": "https://api.calendly.com/scheduled_events/<uuid>/invitees/<uuid>",
"email": "invitee@example.com",
"name": "Jordan Rivera",
"status": "active",
"scheduled_event": { "uri": "…", "start_time": "…" }
}
}
FieldMeaning
eventWhich event fired
created_atWhen the event occurred
created_byThe user who created the subscription, not the person who triggered the event
payloadShape varies by event family

The person who triggered the event is in payload. For invitee.* events, the payload is an Invitee object. payload.uri is its canonical resource reference. Use it to fetch the full invitee, and to deduplicate deliveries.

For the full payload fields of each event, see Get sample webhook data.

event_type.* payloads include host-only fields. An event_type.updated delivery contains the full Event Type object, including internal_note and secret. Every app that subscribes to the event receives them.

Headers

HeaderExampleAlways present
Calendly-Webhook-Signaturet=1789752871,v1=012f4d47…Only when the subscription has a signing key
User-AgentCalendlyYes
Content-Typeapplication/jsonYes
Accept-EncodinggzipYes

No header gives a delivery ID, attempt number, subscription ID or event type. Calendly-Webhook-Signature is the only Calendly-specific header.

Deliveries can contain other headers, such as tracing headers. They are not part of the webhook contract, and they can change without notice. Do not build on them.


4. Verify the signature

Verification is optional, but we strongly recommend it. Without it, anyone who learns your callback URL can send you fake events.

  • Signing key: the secret that you set (personal access token) or copied from your app (OAuth). Calendly never sends it in a delivery. It sends only the signature.
  • Signature: in the Calendly-Webhook-Signature header, in the format t=<unix-timestamp>,v1=<hex-hmac>.
  • HMAC input: HMAC-SHA256(signing_key, "<t>." + raw_body), hex-encoded.
Hash the raw bytes, exactly as received

JSON.stringify(JSON.parse(body)) returns the same bytes for simple payloads. Verification then passes in testing and fails in production on accented names, escaped characters, decimals or large numbers. Capture the raw body before you parse the JSON.

Return a status code. Do not raise an exception.

An uncaught exception in your handler becomes a 500. Calendly counts that as a failed delivery, and repeated failures disable your subscription. See Delivery, retries and failures. A malformed or forged signature header is a normal input, not an exception. Return 401.

Which key signs a delivery

Subscription created withsigning_key sentSigned with
Personal access tokenyesthat key
Personal access tokenomittednothing (no signature header)
OAuth appomittedyour app’s signing key
OAuth appyesthat key, instead of your app’s key

A delivery does not identify the key that signed it. If your app manages subscriptions from both personal access tokens and OAuth, store the key with each subscription when you create it.

Do not use v1 as an idempotency key. Calendly generates the signature for each delivery attempt, so it does not identify the event.

Example code

The three examples use the same pattern. Each one keeps the raw body, compares the HMAC in constant time, and rejects old timestamps.

import crypto from "crypto";
import express from "express";
const app = express();
const SIGNING_KEY = process.env.CALENDLY_SIGNING_KEY;
function verify(header, body, tolerance = 180) {
if (!header) return false;
const parts = {};
for (const piece of header.split(",")) {
const i = piece.indexOf("=");
if (i === -1) continue;
parts[piece.slice(0, i).trim()] = piece.slice(i + 1).trim();
}
const { t, v1 } = parts;
if (!t || !v1 || !/^\d+$/.test(t)) return false;
const computed = crypto.createHmac("sha256", SIGNING_KEY)
.update(Buffer.concat([Buffer.from(`${t}.`), body]))
.digest("hex");
const a = Buffer.from(computed), b = Buffer.from(v1);
if (a.length !== b.length || !crypto.timingSafeEqual(a, b)) return false;
return Math.abs(Date.now() / 1000 - Number(t)) <= tolerance;
}
// express.raw preserves the bytes; express.json would break the signature
app.post("/webhooks/calendly", express.raw({ type: "application/json" }),
(req, res) => {
if (!verify(req.get("Calendly-Webhook-Signature") || "", req.body))
return res.sendStatus(401);
// enqueue req.body, then acknowledge
res.sendStatus(200);
});

Each example treats a missing or invalid signature as normal input. Each one accepts timestamps up to 180 seconds old. Change the tolerance to suit your clock skew.

To check your code against a real signature, send a signed test event.

Rotate a signing key

You cannot change the key of a personal access token subscription after you create it. You also cannot create a second subscription on the same callback URL for the same user (409). To rotate the key without downtime, use a second subscription. The new subscription needs a different callback URL. For example, add a path segment or a query parameter: …/webhooks/calendly?v=2.

  1. Create a second subscription on the new callback URL.
  2. Set your endpoint to accept either key.
  3. Delete the old subscription.
  4. Remove the old key from your endpoint.

An OAuth app has one signing key for all its webhook subscriptions. You cannot rotate it.


5. Test your endpoint

Send a signed test event

The endpoint tester in Calendly sends a sample event to your callback URL. It shows the request it sent and the response from your endpoint. It does not create a subscription, and it does not need a token or a booking.

The tester signs each test event with a test signing key. It sends Calendly-Webhook-Signature the same way a real delivery does. Copy the test signing key into your endpoint before you send, so your verification code runs during the test.

  1. Open the Webhooks tab in Developer tools.
  2. Copy the test signing key into your endpoint.
  3. Enter your callback URL.
  4. Select an event.
  5. Send the test event.
  6. Read the result.

When you create a subscription, replace the test key with your real signing key.

Read the result as you would a real delivery:

The tester sends only to public https URLs. To test a local server, expose it through a tunnel first. The tester has no subscription, so a 410 response deletes nothing. You can send up to 50 test events a minute.

Inspect payload shapes without booking

Call Get sample webhook data:

GET /sample_webhook_data?event=invitee.created&organization=<org_uri>&scope=user&user=<user_uri>

This returns real data from your account, not a synthetic fixture. It can include live meeting links and real attendee email addresses. Treat the response as production data. Do not commit it to fixtures, and do not paste it into tickets without redacting it.

Trigger real events from the API

Fastest test: subscribe to event_type.updated, then update an event type with PATCH /event_types/{uuid}. A PATCH request that sends an existing value also fires the event, so you do not have to change anything. You get a delivery without a booking, and no invitee receives an email.

You can trigger these events on demand:

To fireCall
invitee.createdPOST /invitees
invitee.canceledPOST /scheduled_events/{uuid}/cancellation
event_type.updatedPATCH /event_types/{uuid}

About POST /invitees:

  • It requires invitee.timezone. It also requires event.location_configuration.kind when the event type has a configured location.
  • It has its own rate limits, separate from the general API limit. See Rate Limits.

Local development

Calendly cannot reach localhost, and the endpoint tester cannot either. Use a tunnel to expose your local server:

ngrok http 4567
# or
cloudflared tunnel --url http://localhost:4567

You cannot change a subscription’s callback_url. Temporary tunnel hostnames change each time you restart the tunnel, and some expire in less than an hour. When your tunnel URL changes, the subscription points at a dead address. Delete it and create a new one. Until you do, deliveries fail and the 24-hour retry window starts.


Production considerations

The rest of this page covers what you need before you go live: multi-account routing, failure handling, idempotency, monitoring and troubleshooting.

6. Route deliveries in a multi-account app

Deliveries do not contain an organization ID or a subscription ID. If you serve multiple Calendly accounts, use the subscription’s creator:

At create: save the subscription’s creator → on each delivery: match created_by to it → that is the connected account.

Do not use the callback URL to identify the customer when multiple customers share the same endpoint.


7. Delivery, retries and failures

Respond fast: verify the signature → store the raw body → return 2xx → process asynchronously.

Connection timeout10 seconds
Read timeout15 seconds

Any response other than 2xx is a failure, including 3xx. Do not redirect your callback URL.

A 410 Gone response deletes the subscription. Calendly does not retry the delivery, and it does not send later events to that subscription. Return 410 only when you want to remove the subscription.

When deliveries fail: a delivery fails → Calendly retries with exponential backoff → still failing after 24 hours → Calendly disables the subscription → you delete it and create a new one.

  • The 24 hours start at the first failed delivery, not at each failed delivery. Calendly records that time in retry_started_at.
  • Any successful delivery resets the clock.
  • If deliveries still fail after 24 hours, the next failed attempt disables the subscription.
  • Do not build logic on the exact delay between attempts.
  • A failed delivery does not stop later events. Calendly continues to send other events while it retries the failed one.

Monitor the right field

FieldAnswers
stateIs the subscription already disabled? (active / disabled)
retry_started_atIs it failing now? When a delivery fails, this is the time that Calendly started to retry. It is null when no failure is unresolved.

Poll GET /webhook_subscriptions/{uuid}, or alert when events that you expect do not arrive. Verification failures and handler crashes also count as failed deliveries. A subscription that returns 401 for every event runs the same 24-hour clock as one that is offline.

Duplicates and ordering

Make your handler idempotent. Calendly can deliver the same event more than once, and deliveries can arrive in any order. The delivery does not contain a delivery ID or an attempt ID.

For invitee.* events, use payload.uri + event as the deduplication key. payload.uri identifies the invitee resource. For other event families, do not assume one key works for every event. Make the processing itself idempotent.

If more than one of your subscriptions matches an event, each subscription can receive its own delivery. These are separate deliveries, not retries.

When a host cancels an event, Calendly sends one invitee.canceled delivery for each invitee who had not already canceled.

A reschedule creates a new invitee with a new payload.uri. Your deduplication key must not merge a reschedule into the original booking. See Handling invitee reschedules with webhooks.


8. Troubleshoot

Not receiving anything

First, send a signed test event from the endpoint tester. If the test succeeds, the problem is the subscription, not your endpoint.

SymptomCause
403 Permission Denied on create, message You do not have permissionYou do not have the role for that subscription scope. See Who can create each scope.
403 Permission Denied on create, any other messageThe event needs a feature that the organization owner’s plan does not include.
400 invalid / must resolve to a public address on createCallback URL is localhost, private, unresolvable, or missing a scheme
409 Already Exists on createThat callback URL already has a subscription for this organization and user. This includes a disabled subscription. Delete it first.
Nothing arrives, subscription looks fineScope mismatch. A user-scope subscription receives events only for that user.
Nothing arrives for one event typeThe event is not available at your subscription scope, or your token does not have the event’s auth scope.
Events stopped arrivingCheck state and retry_started_at with Get Webhook Subscription
The subscription no longer existsYour endpoint returned 410 Gone, which deletes the subscription. Create it again.
Behind a firewallAllowlist Calendly’s published IP addresses. Webhook deliveries come from that list.

Receiving, but something is wrong

SymptomCause
No Calendly-Webhook-Signature headerThe subscription has no signing key. Delete it and create a new one with a signing_key.
Signature verified in testing, fails in productionYou re-serialize the body. Hash the raw bytes.
Cannot tell which customer an event belongs toMatch the delivery’s created_by to the creator that you stored.
Duplicate effects in your systemMake processing idempotent. See Duplicates and ordering.
Subscription keeps getting disabledLook for repeated non-2xx responses, timeouts, signature failures or handler errors.

9. Production checklist

  • Verify every delivery against the raw body. Return 401; do not raise an exception.
  • Return 2xx before you process. Do the work in a queue.
  • Make processing idempotent. See Duplicates and ordering.
  • Do not make correctness depend on delivery order.
  • If you serve multiple accounts, store creator for each customer when you create the subscription.
  • Do not redirect the callback URL. A 3xx counts as a failure.
  • Do not return 410 unless you want Calendly to delete the subscription.
  • Monitor state and retry_started_at. Alert when expected events do not arrive.
  • Store signing keys as secrets. Do not put them in source code.
  • Use HTTPS. Payloads contain invitee personal data.