Update Conversation
PUT/conversations/:conversationId
Update the conversation details based on the conversation ID
Request
Version stringrequired
API Version
Available options
v3conversationId stringrequired
Conversation ID as string
- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location ID as string
unreadCountnumber
Count of unread messages in the conversation
starredboolean
Starred status of the conversation.
feedbackobject
{
"locationId": "tDtDnQdgm2LXpyiqYvZ6",
"unreadCount": 1,
"starred": true,
"feedback": {}
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Boolean value as the API response.
conversationobjectrequired
Conversation data of the provided conversation ID.
{
"success": true,
"conversation": {
"id": "tDtDnQdgm2LXpyiqYvZ6",
"locationId": "tDtDnQdgm2LXpyiqYvZ6",
"contactId": "tDtDnQdgm2LXpyiqYvZ6",
"assignedTo": "tDtDnQdgm2LXpyiqYvZ6",
"userId": "tDtDnQdgm2LXpyiqYvZ6",
"lastMessageBody": "Hello, this is the message body",
"lastMessageDate": "1628008053263",
"lastMessageType": "TYPE_CALL",
"unreadCount": 1,
"inbox": true,
"starred": true,
"deleted": false
}
}