RevoplyAIDocs
WebhooksEvents

appointment.cancelled

An appointment was cancelled.

Fires when an appointment is cancelled by the customer, the assistant or the team. cancellationReason is what was given, if anything.

Does not fire when an appointment is moved, or merely passes without the customer turning up.

Header Parameters

X-Revoply-Signature*string

t=<unix seconds>,v1=<hex HMAC-SHA256 of "{t}.{body}">, with a second v1 while a rotated secret still signs. Verify it before trusting the body.

X-Revoply-Event*string

The event's type, so a receiver can route before parsing.

X-Revoply-Delivery*string

This delivery's id. A resend of the same event keeps the envelope id and gets a new delivery id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Every event arrives in this envelope. Fields are only ever added, and a field that can be empty is sent as null rather than left out. Deduplicate on id: a delivery can arrive more than once.

Response Body

Example Requests

POST/appointment.cancelled