Skip to main content

Endpoint

Authentication

None required (public endpoint).

Request body

agentId
string
required
The agent ID.
bookingCode
string
required
The booking confirmation code (e.g., BK-A1B2C3).

Response

success
boolean
message
string
Confirmation message.

Cancellation rules

  • The booking must be in pending or confirmed status
  • User cancellation must be enabled in the agent’s booking config
  • The cancellation must meet the notice period requirement (e.g., 12 hours before the appointment)

Example

Response