myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Cancel appointment

POST

/api/v1/ext/appointments/{id}/cancel

Cancel it and free the slot.

Auth: Bearer access_token
Scope: appointments.write

Runs workflows on Appointment cancelled and removes it from a linked Google or Outlook calendar. A cancellation is final: book again instead.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
Appointment id.
reason
body
stringnoUp to 500 characters.

Responses

StatusWhen
200
OK
401
Missing or invalid token
403
Missing scope
404
Appointment does not exist or is not in a workspace of the installer
Request
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/appointments/{id}/cancel" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "Client asked to cancel"
}'
Responses
OK
{
  "success": true,
  "message": "Appointment cancelled",
  "data": {
    "id": 700,
    "status": "cancelled"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Appointment id.

Body (JSON)
Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/appointments/%7Bid%7D/cancel
Previous

« Update / reschedule appointment

Next

Mark no-show »