Skip to main content
When a task is deleted from a contact record — whether manually by a team member or through an automation — HoopAI sends a TaskDelete event to all configured webhook endpoints. Use this event to remove the corresponding item from external systems, update reporting, or log the deletion for audit trail purposes.

Payload

FieldTypeDescription
typestringAlways "TaskDelete"
locationIdstringSub-account ID the task belonged to
idstringUnique ID of the deleted task
titlestringShort display name of the task at the time of deletion
bodystringFull description or details of the task at the time of deletion
contactIdstringID of the contact this task was associated with
assignedTostringID of the user who was responsible for the task
dateAddedstringISO 8601 timestamp when the task was originally created
dueDatestringISO 8601 timestamp by which the task was due

Example payload

{
  "type": "TaskDelete",
  "locationId": "ve9EPM428h8vShlRW1KT",
  "id": "UlRWGLSXh0ji5qbiGu4i",
  "assignedTo": "63e4qiWDsFJjOYAC8phG",
  "body": "Loram ipsum",
  "contactId": "CWBf1PR9LvvBkcYqiXlc",
  "title": "Loram ipsum",
  "dateAdded": "2021-11-26T12:41:02.193Z",
  "dueDate": "2021-11-26T12:41:02.193Z"
}
Last modified on March 4, 2026