Delete a contact
DELETE /v1/contacts/{id}
Deletes the contact, as the app does: it leaves your contacts, the name, tags and attributes your team saved are deleted, and what Soosh AI remembered about the customer is erased.
Needs contacts:write.
Path parameters
Section titled “Path parameters”id string · uuid
The contact’s ID.
Their chat stays
Section titled “Their chat stays”If the customer has a chat, it stays in the inbox with its whole history, and your team can keep replying. Messages to and from them, in the app and through the API, keep the same contact_id. Their marketing opt-outs stay too. A customer without a chat leaves nothing behind.
Afterwards
Section titled “Afterwards”The contact answers 404 here and leaves GET /v1/contacts, even when its chat stays. Creating a contact with the same number brings it back, with the same ID. Deleting sends contact.deleted, with chat_kept saying whether the chat stayed.
Returns
Section titled “Returns”204 No content.
Errors
Section titled “Errors”Besides the ones every request can get: