Receiving a user message for an ongoing conversation

This endpoint is provided by the human agent solution and configured in the Laiye Chatbot platform during the integration setup.
After a new handover request, the following messages sent by the end-user are routed to this url instead of the chatbot.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Expected response

Expected response codes from the human agent platform backend are 2xx.

Timeouts

The connection time between Laiye Chatbot's back-end and the partner's back-end must be less than 1s
Once connected, a response must be given within 1 second.
Laiye Chatbot does not automatically retry timeout failed attempts. This is to guarantee that the user message is received only once by the partner backend.

Body Params
string
required

Laiye Chatbot end-user unique token.

message
object
required

Message object containing the content to display to the agent.

Headers
string
Defaults to application/json
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json