Skip to main content
webhooks.calendly() verifies the HMAC-SHA256 signature Calendly sends in calendly-webhook-signature on every request.
/trigger/calendly.ts
To run a subscriber only for some events, add a filter on event.event.

Set up Calendly

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. Calendly webhooks are created through the API, on a paid plan. Choose a signing key (for example, the output of openssl rand -hex 32), then create the subscription with POST https://api.calendly.com/webhook_subscriptions, passing url (the webhook URL), events, organization, scope and signing_key. If you create the subscription from an OAuth app, Calendly generates the signing key instead.
  3. Choose Set signing secret on the Trigger.dev endpoint and paste the signing key.
  4. Send a test event from Calendly, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.