Skip to main content
PATCH
Update Conversation Messages

Example Request

This replaces the current conversation turn history stored in Firestore at voiceglow/{agentId}/convos/{convoId}/convo/JSON_STRING. It does not deliver anything to WhatsApp, Messenger, or other channels.
To send a real outbound message to the customer on their original channel, use Send Message to Conversation instead.
When updateConversationMetadata is true, the endpoint also refreshes messagesNum, lastMessage, firstMessageTS, lastMessageTS, and lastModified on the light conversation document.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required
convoId
string
required

Body

application/json
turns
object[]
required
lgMessages
any[]
updateConversationMetadata
boolean
default:true

Response

Successful response

success
boolean
required
message
string
required
data
object
required