Messages Endpoint
Last updated
Last updated
The Messages endpoint returns data about the messages within a Conversation. This will include information like the type, sender, the time the message was sent and message specific data.
Here is a sample request for the messages endpoint
To iterate through the results pass the cursor
value till the cursor returned by the API is null.
Optional: You can use the conversation_id
parameter to fetch messages for a specific conversation.
Message ID (_id)
The message's unique ID.
Time (time)
The time the message was sent
Conversation ID (conversationId)
The unique ID of the conversation the message belongs to.
Type of the Message (type)
The type of message
Message data (outMsg)
The details of the message sent by the chatbot
User Action Type (userActionType)
The type of action taken by the user. This value only exists for type UserInput
User Input (userInput)
The value of userInput done by the customer. This can be the content of text, quick reply or form input