Skip to content

Delete Contact

Tool name: delete-contact

Permanently deletes a contact, both channels, subscriptions, tags, field values and history. The contact leaves campaigns and automations; there is no undo. Only delete a contact the user explicitly asked to delete, after naming the contact back to them. To keep it, use unsubscribe-contact.

Input schema

contactIdinteger, >= 1required

Numeric contact ID returned by search-contacts

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "contactId": 1, "accountId": null }

Output schema

accountIdintegerrequired
contactIdintegerrequired
emailstringrequired
smsNumberstringrequired
deletedbooleanrequired
Output example
{ "accountId": 0, "contactId": 0, "email": "string", "smsNumber": "string", "deleted": true }