Skip to main content
webhooks.calCom() verifies the HMAC-SHA256 signature Cal.com sends in x-cal-signature-256 on every request.
/trigger/cal-com.ts
To run a subscriber only for some events, add a filter on event.triggerEvent.

Set up Cal.com

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. Choose Generate secret on the Trigger.dev endpoint and copy the value.
  3. In Cal.com, open Settings > Developer > Webhooks and add a webhook with the webhook URL and the events your subscribers need. Paste the secret into its secret field. The secret is optional in Cal.com but required here: without it, Cal.com doesn’t sign deliveries and every one is rejected. Cal.com hides the secret after you save.
  4. Send a test event from Cal.com, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.