Home//
REST API Reference
/- Delete a conversation
Add tag to a conversation
Remove tag from a conversation
List all conversations
Creates a conversation
Retrieve a conversation
Update a conversation
Search conversations
Reply to a conversation
Manage a conversation
List handling events
List HITL events
List side conversations
Merge a conversation
Convert a conversation to a ticket
List all deleted conversation IDs
Conversation
Conversation List Item
Conversation Monitor Evaluation
Conversation Scorecard
Conversation Scorecard Evaluator
Conversation Scorecard Evaluator Result
Scorecard Note
Note Author
Reviewed Teammate
Reviewer
Merge Conversations Request
Delete a conversation
Irreversible operation
Deleting a conversation is permanent and cannot be reversed.
You can delete a single conversation. The behavior depends on the retain_metrics parameter:
With
retain_metrics=true(default): Deletes the conversation while retaining reporting data. The conversation will still appear in reporting, though some data may be incomplete due to the deletion.With
retain_metrics=false: Deletes the conversation and all associated reporting data. The conversation will be completely removed from both the inbox and all reporting.
Required scope for retain_metrics=false
Using retain_metrics=false requires the delete_conversations_and_metrics OAuth scope.
For more info, see this help center article.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"Preview"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
- The production API serverhttps://api.intercom.io/conversations/{id}
- The european API serverhttps://api.eu.intercom.io/conversations/{id}
- The australian API serverhttps://api.au.intercom.io/conversations/{id}
curl -i -X DELETE \
'https://api.intercom.io/conversations/{id}?retain_metrics=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: Preview'Response
{ "id": "512", "object": "conversation", "deleted": true }