Skip to main content
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.

DELETE /v1/contact/

Deletes a contact by its integer ID.

Path parameters

id
integer
required
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"
"ok"