webhooks.calCom() verifies the HMAC-SHA256 signature Cal.com sends in x-cal-signature-256 on every request.
/trigger/cal-com.ts
event.triggerEvent.
Set up Cal.com
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - Choose Generate secret on the Trigger.dev endpoint and copy the value.
- 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.
- 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.

