---
title: "Send the cancellation email"
method: POST
path: "/bookings/{code}/cancellation_email"
tags: ["Booking - Core"]
---

# Send the cancellation email

`POST /bookings/{code}/cancellation_email`

## Request

- Base URL: `https://api.jammed.app/api/v2`
- URL: `https://api.jammed.app/api/v2/bookings/{code}/cancellation_email`
- Auth: none declared. Required headers: `Authorization`

Emails the customer a link to cancel their booking. This is the same email the customer gets when they press
the cancel button on their booking page: the link in it is valid for 30 minutes and takes them to the step
where they confirm cancelling. Any refund or credit follows the studio's cancellation policy.

OAuth tokens need `bookings.write`.

## Path parameters

- `code` string, required

## Headers

- `Authorization` string, required

## Response `200`

Email sent

- StatusResponse
  - `status` 'ok' | 'error'
  - `message` string

## Other responses

- `401`: Unauthorized - Invalid API key
- `403`: Forbidden - the OAuth token lacks `bookings.write`
- `404`: Not found - Booking was not found
- `422`: Unprocessable - the customer can no longer cancel this booking (it is unpaid, already cancelled, rejected or past the cancellation cut-off), or the email cannot be sent to them

## Changes

- **2026-11-05** (v2) `a7e302411d13`: 2 info
  - api tag `Booking - Core` added
  - api tag `Booking Endpoints` removed
- **2026-11-05** (v2) `af12cab9caa4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/changes/bookings/:code/cancellation_email/post.md)

---

[API](https://skmtc.dev/jammed-org/apis/jammed-bookings-api.md) - [All operations](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/revisions/d512cbbe42fb?raw)
