Skip to content

Trash or restore a conversation ​

Conversations

POST
/conversations/{id}/toggleTrashed

Parameters​

Path Parameters

id*

ID of the conversation to interact with

Type
string
Required

Query Parameters

moderatorId*

ID of the moderator trashing/restoring the conversation

Type
string
Required

Request Body​

application/json
JSON
{
  
"trashed": false
}

Responses​

Conversation trashed state updated

Samples​

Gainsight CC Developer Portal