ContactDelete event fires when a contact record is permanently removed from your sub-account. The payload includes the contact’s last known field values at the time of deletion. Use this event to clean up records in external systems, revoke access, or archive data before it is no longer available in HoopAI.
Payload
| Field | Type | Description |
|---|---|---|
type | string | Always "ContactDelete" |
locationId | string | Sub-account ID where the contact was deleted |
id | string | Unique identifier of the deleted contact |
firstName | string | Contact’s first name at time of deletion |
lastName | string | Contact’s last name at time of deletion |
name | string | Contact’s full name at time of deletion |
email | string | Contact’s email address |
phone | string | Contact’s phone number in E.164 format |
address1 | string | Street address line 1 |
city | string | City |
state | string | State or province |
postalCode | string | Postal or ZIP code |
country | string | Country code (e.g., "US", "DE") |
companyName | string | Name of the contact’s company |
website | string | Contact’s website URL |
source | string | Original source through which the contact was created |
dateAdded | string | ISO 8601 timestamp of when the contact was originally created |
dateOfBirth | string | Contact’s date of birth in ISO 8601 format |
dnd | boolean | Whether the contact had Do Not Disturb enabled globally |
tags | array | List of tag strings that were applied to the contact |
attachments | array | List of file attachments that were associated with the contact |
assignedTo | string | User ID of the team member who was assigned to this contact |
customFields | array | Array of custom field values with id and value properties |
Example payload
Related
- Contact Created — fires when a brand-new contact is added
- Contacts API — query and update contacts programmatically
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)