API ReferencePublic booking

List cancellation reasons

List all active cancellation reasons that can be used when canceling the specified appointment.

GET
/v1/public/appointments/{appointment_id}/cancellation_reasons

Authorization

authorization
AuthorizationBearer <token>

In: header

Path Parameters

appointment_id*string

Appointment ID

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/public/appointments/string/cancellation_reasons"
{  "data": [    {      "id": "cr_d025a96ac0c6",      "name": "Schedule conflict",      "object": "public_cancellation_reason",      "sort_order": 0    },    {      "id": "cr_e136b07bd1d7",      "name": "Found another provider",      "object": "public_cancellation_reason",      "sort_order": 1    }  ]}