Send Message
Send message to a particular thread or start a new thread
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Body
Request Body
Actual text containing the message
If provided, message will be sent to the thread with this threadId. Otherwise, message will be sent to a new thread. This is mandatory when from is AGENT.
Indicates who all can send messages to the chat threads
USER
, AGENT
Icon url to be associated with the message in the conversation thread
Agent name to be associated with the message in the conversation thread
Prompts should be provided only when from is AGENT. This provides user list of options to choose from after the message is sent.
Flag to decide whether to return smart followup questions based on the AI response.
Response
Sucess Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Was this page helpful?