AutoCompose
Generate suggestions
Get suggestions for the next agent message in the conversation.
There are several times when this should be called:
- when an agent joins the conversation,
- after a message is sent by either the customer or the agent,
- and as the agent is typing in the composer (to enable completing the agent’s in-progress message).
Optionally, add a message to the conversation.
POST
Path Parameters
The identifier for a conversation.
Body
application/json
The parameters for getting suggestions for the next agent message.
A suggestions request with an optional message to add to the conversation
text the agent has already entered into the composer
Represents a single message within a conversation.
Response
200
application/json
Successfully fetched suggestions for the conversation
Suggestions for next agent message
ID for the suggestions that were returned (to be used in analytics events)
Response for messages
Completion of the phrase the agent is currently typing, to be displayed inline in the composer
Recommended message for the agent to autopilot send.
Was this page helpful?