Contacts

Delete contact by id

DELETE
/api/contacts/{id}

Cascade-deletes the contact along with its conversations and messages, creates a Contact Deleted notification for the assignees, logs a manual event, and emits contact_removed. Org-scoped unless caller is SUPERADMIN.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/contacts/string"
{  "message": "Conversation deleted"}