Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Update the conversation details based on the conversation ID
PUT https://services.leadconnectorhq.com/conversations/{conversationId}

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Path parameters

conversationId
string
default:"tDtDnQdgm2LXpyiqYvZ6"
required
Conversation ID as string

Body

locationId
string
default:"tDtDnQdgm2LXpyiqYvZ6"
required
Account ID as string
unreadCount
number
default:"1"
Count of unread messages in the conversation
starred
boolean
default:"True"
Starred status of the conversation.
feedback
object

Respuestas

success
boolean
default:"True"
required
Boolean value as the API response.
conversation
object
required
Conversation data of the provided conversation ID.
{
  "success": true
}
{}
{}

Ejemplo

curl -X PUT 'https://services.leadconnectorhq.com/conversations/YOUR_conversationId' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "locationId": "tDtDnQdgm2LXpyiqYvZ6",
  "unreadCount": 1,
  "starred": true,
  "feedback": {}
}'