---
title: "Handle Calendly webhook events"
method: POST
path: "/webhooks/calendly"
tags: ["Webhooks"]
---

# Handle Calendly webhook events

`POST /webhooks/calendly`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/webhooks/calendly`
- Auth: none declared

Receives webhook events from Calendly for booking notifications.
Events: invitee.created (new booking), invitee.canceled (cancellation).
Webhook signature verified using Calendly-Webhook-Signature header.

## Request body

- object
  - `event` 'invitee.created' | 'invitee.canceled', required
  - `created_at` string, date-time
  - `payload` object, required

## Response `200`

Webhook processed successfully

## Other responses

- `401`: Invalid or missing webhook signature

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
