Skip to main content
PUT
/
conversations
/
{conversationId}
Update Conversation
curl --request PUT \
  --url https://services.leadconnectorhq.com/conversations/{conversationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Version: <version>' \
  --data '
{
  "locationId": "tDtDnQdgm2LXpyiqYvZ6",
  "unreadCount": 1,
  "starred": true,
  "feedback": {}
}
'
{
  "success": true,
  "conversation": {
    "locationId": "tDtDnQdgm2LXpyiqYvZ6",
    "contactId": "tDtDnQdgm2LXpyiqYvZ6",
    "deleted": false,
    "id": "tDtDnQdgm2LXpyiqYvZ6",
    "assignedTo": "tDtDnQdgm2LXpyiqYvZ6",
    "userId": "tDtDnQdgm2LXpyiqYvZ6",
    "lastMessageBody": "Hello, this is the message body",
    "lastMessageDate": "1628008053263",
    "lastMessageType": "TYPE_CALL",
    "unreadCount": 1,
    "inbox": true,
    "starred": true
  }
}

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Headers

Version
enum<string>
required

API Version

Available options:
2021-04-15

Path Parameters

conversationId
string
required

Conversation ID as string

Example:

"tDtDnQdgm2LXpyiqYvZ6"

Body

application/json
locationId
string
required

Location ID as string

Example:

"tDtDnQdgm2LXpyiqYvZ6"

unreadCount
number

Count of unread messages in the conversation

Example:

1

starred
boolean

Starred status of the conversation.

Example:

true

feedback
object

Response

Successful response

success
boolean
required

Boolean value as the API response.

Example:

true

conversation
object
required
Last modified on March 4, 2026