Skip to main content
When an appointment is deleted from a calendar — whether by a staff member, an automation, or a contact cancelling through a booking page — HoopAI sends an AppointmentDelete event to all configured webhook endpoints. Use this event to cancel corresponding entries in external systems, release reserved resources, or log the removal for auditing purposes.

Payload

FieldTypeDescription
typestringAlways "AppointmentDelete"
locationIdstringSub-account ID the appointment belonged to
appointment.idstringUnique ID of the deleted appointment
appointment.addressstringMeeting location or URL that was associated with the appointment
appointment.titlestringDisplay name of the appointment at the time of deletion
appointment.calendarIdstringID of the calendar the appointment was booked on
appointment.contactIdstringID of the contact associated with the appointment
appointment.groupIdstringID of the calendar group, if the calendar belonged to one
appointment.appointmentStatusstringStatus of the appointment at the time of deletion (e.g., confirmed, cancelled)
appointment.assignedUserIdstringID of the team member the appointment was assigned to
appointment.usersarrayList of user IDs that were associated with the appointment
appointment.notesstringInternal notes that were attached to the appointment
appointment.sourcestringHow the appointment was originally created (e.g., booking_widget, manual)
appointment.startTimestringISO 8601 start date and time of the deleted appointment
appointment.endTimestringISO 8601 end date and time of the deleted appointment
appointment.dateAddedstringISO 8601 timestamp when the appointment record was originally created
appointment.dateUpdatedstringISO 8601 timestamp when the appointment was last updated before deletion

Example payload

{
  "type": "AppointmentDelete",
  "locationId": "0007BWpSzSwfiuSl0tR2",
  "appointment": {
    "id": "0007BWpSzSwfiuSl0tR2",
    "address": "https://example.com/meeting",
    "title": "Appointment with Hoop Dev team",
    "calendarId": "BqTwX8QFwXzpegMve9EQ",
    "contactId": "9NkT25Vor1v4aQatFsv2",
    "groupId": "9NkT25Vor1v4aQatFsv2",
    "appointmentStatus": "confirmed",
    "assignedUserId": "YlWd2wuCAZQzh2cH1fVZ",
    "users": ["YlWd2wuCAZQzh2cH1fVZ", "9NkT25Vor1v4aQatFsv2"],
    "notes": "Some dummy note",
    "source": "booking_widget",
    "startTime": "2023-09-25T16:00:00+05:30",
    "endTime": "2023-09-25T16:00:00+05:30",
    "dateAdded": "2023-09-25T16:00:00+05:30",
    "dateUpdated": "2023-09-25T16:00:00+05:30"
  }
}
Last modified on March 4, 2026