Cancel Appointment
POST
/api/v1/calendar/appointments/cancelCancels a previously scheduled appointment. Requires the appointment ID and invitee email. An optional cancellation reason can be provided.
cv-api-keyRate Limited
Production
https://api.care360-next.carevalidate.com/api/v1/calendar/appointments/cancelStaging
https://api-staging.care360-next.carevalidate.com/api/v1/calendar/appointments/cancelParameters
Headers
cv-api-keystringrequiredAPI key for authentication
Request Body
emailstringrequiredInvitee email address associated with the appointment.
Example:
invitee@example.comappointmentIdstringrequiredUnique identifier of the appointment to cancel.
Example:
23ddc211-2a42-4d65-9091-9d9170d0ed62reasonstringoptionalOptional text describing the reason for cancellation.
Example:
Testing cancel eventExamples
- cURL
- JavaScript
- Python
curl --location "https://api.example.com/api/v1/calendar/appointments/cancel" \
--header "cv-api-key: your-org-cv-api-key" \
--header "Content-Type: application/json" \
--data-raw '{
"email": "invitee@example.com",
"appointmentId": "23ddc211-2a42-4d65-9091-9d9170d0ed62",
"reason": "Testing cancel event"
}'
const response = await fetch("https://api.example.com/api/v1/calendar/appointments/cancel", {
method: "POST",
headers: {
"Content-Type": "application/json",
"cv-api-key": "your-org-cv-api-key",
},
body: JSON.stringify({
email: "invitee@example.com",
appointmentId: "23ddc211-2a42-4d65-9091-9d9170d0ed62",
reason: "Testing cancel event",
}),
});
const data = await response.json();
console.log(data);
import requests
response = requests.post(
"https://api.example.com/api/v1/calendar/appointments/cancel",
headers={
"Content-Type": "application/json",
"cv-api-key": "your-org-cv-api-key",
},
json={
"email": "invitee@example.com",
"appointmentId": "23ddc211-2a42-4d65-9091-9d9170d0ed62",
"reason": "Testing cancel event",
},
)
print(response.json())
Try It Out
Try itAPI Playground
▶Responses
▶200SuccessAppointment cancelled successfully.
{
"status": 200,
"success": true,
"message": "Meeting cancelled successfully"
}
▶400Bad RequestReturned when the request body is invalid, required fields are missing, or fields fail validation.
{
"status": 400,
"success": false,
"message": "Invalid request",
"error": "Error message describing the validation failure"
}
▶401UnauthorizedReturned when API key is missing or invalid.
{
"status": 401,
"success": false,
"message": "Unauthorized"
}
▶429Too Many RequestsReturned when rate limit is exceeded.
{
"status": 429,
"success": false,
"message": "Rate limit exceeded"
}