Delete a contact

Deprecated

Deprecated. Use PATCH /v3/contacts/{id} with {"opt_out": true} instead, and expect this to be removed in a future release. It still behaves exactly as before, so nothing needs to change today.

Opting a contact out stops every send to them, which is what deleting one was mostly used for — and it keeps the record of who they were and that they asked. A delete discards the consent history along with the contact, which is the part you need if anyone ever asks why you stopped, or why you started again.

Dissociates a contact from the authenticated customer.

DELETE
/v3/contacts/{id}

Path Parameters

id*string

Contact ID from route parameter

Formatuuid

Header Parameters

x-profile-id?string

Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.

Formatuuid

Request Body

application/json
  1. body

Base request for mutation operations (POST, PUT, PATCH) with sandbox mode support

sandbox?boolean

Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution

Response Body

Contact deleted successfully

Example Request
curl -X DELETE 'https://api.sent.dm/v3/contacts/6ba7b810-9dad-11d1-80b4-00c04fd430c8' \  -H 'Content-Type: application/json' \  -d '{  "sandbox": false}'
Example Response
Empty