Conversations

Delete a conversation and its messages

DELETE
/api/conversation

Permanently delete a conversation and every Message attached to it. Used by admin/cleanup tooling; the underlying contact and calls are preserved.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/conversation" \  -H "Content-Type: application/json" \  -d '{    "conversationId": "65d3e0f0a0b0c0d0e0f0a0b0"  }'
{  "message": "Conversation deleted"}