Deleting a contact permanently removes the record and all associated data from Heymarket. You can delete a contact by integer ID with the v1 endpoint or by UUID with the v2 endpoint.
Contact deletion is permanent and cannot be undone. All conversation history and custom field data associated with the contact will be lost.
Deletes a contact by its integer ID.Path parameters
The integer ID of the contact to delete.
Response
Returns the string "ok" on success.Example
curl -X DELETE https://api.heymarket.com/v1/contact/98765 \
-H "Authorization: Bearer YOUR_API_KEY"
Deletes a contact by its UUID.Path parameters
The UUID of the contact to delete.
Example
curl -X DELETE https://api.heymarket.com/v2/contact/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer YOUR_API_KEY"