Generative Agent
Analyze conversation
Call this API to trigger GenerativeAgent to analyze and respond to a conversation.
This API should be called after a customer sends a message while not speaking with a live agent. The Bot replies will not be returned on this request; they will be delivered asynchronously via the webhook callback.
This API also adds an optional message field to create a message for a given conversation before triggering the bot replies. The message object is the exact same message used in the conversations API /message endpoint
POST
Body
application/json
The parameters for triggering the analysis and response to a conversation
Response
200
application/json
Successfully triggered the bot to analyze and respond to a conversation
Conversation identifier and message identifier if passed in the request