> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeplo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE Delete Conversation

> Delete a conversation and all its messages.

## Delete Conversation

`DELETE /api/conversations/:id`

Permanently delete a conversation and all associated messages.

### Headers

**x-api-key** `string` *required*

Your API key

**x-api-secret** `string` *required*

Your API secret key

**x-channel-id** `string` *required*

WhatsApp channel ID

```bash cURL theme={null}
curl -X DELETE https://zeplo.ai/api/conversations/1 \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-api-secret: YOUR_API_SECRET" \
  -H "x-channel-id: YOUR_CHANNEL_ID"
```

### Path parameters

**id** `integer` *required*

Conversation ID.

```json Response theme={null}
{
  "success": true,
  "message": "Conversation deleted successfully"
}
```

> [!WARNING]
>
> This action is irreversible. All messages in the conversation will be permanently deleted.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.