curl --request DELETE \
--url https://api.botpress.cloud/v1/chat/conversations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{}Permanently deletes a Conversation. It cannot be undone. Also immediately deletes corresponding Messages.
curl --request DELETE \
--url https://api.botpress.cloud/v1/chat/conversations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Conversation id
Returns the Conversation object that was deleted
The response is of type deleteConversationResponse · object.
Was this page helpful?