Skip to main content
POST
https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1
/
cal-com-cancel-booking
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/cal-com-cancel-booking \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "uid": "bkg_a1b2c3d4e5f6",
    "reason": "Customer requested reschedule"
  }'
{
  "success": true,
  "booking_id": 123456
}
Cancel a previously booked appointment. The attendee will receive a cancellation notification.

Request Body

booking_id
integer
The Cal.com booking ID to cancel. Provide either booking_id or uid.
uid
string
The unique booking identifier to cancel. Provide either booking_id or uid.
reason
string
Optional reason for cancellation (included in notification).

Response

success
boolean
Whether the booking was cancelled successfully.
booking_id
integer
The cancelled booking ID.
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/cal-com-cancel-booking \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "uid": "bkg_a1b2c3d4e5f6",
    "reason": "Customer requested reschedule"
  }'
{
  "success": true,
  "booking_id": 123456
}