cURL
curl --request DELETE \ --url https://api.chat-dash.com/v1/public/agents/{agentId}/conversations/{conversationId}/messages \ --header 'Authorization: <authorization>'
{ "message": "Messages deleted successfully" }
Delete all messages for a conversation
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The ID of the agent
The ID of the conversation
OK
"Messages deleted successfully"