API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
Chatbot Links
Chatbot Messages
Chatbot Personas
Chatbot Prompts
Chatbot Quick Prompts
Chatbot Settings
Chatbot Threads
Fetch Thread
Fetch a single thread of the chatbot
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Id of the chatbot
Id of the chatbot thread
Parameter to identify if messages needs to be returned or not
Parameter to identify if chat user details needs to be returned or not
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Id of the chatbot thread
Query Parameters
Parameter to identify if messages needs to be returned or not
Parameter to identify if chat user details needs to be returned or not
Response
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Chatbot Thread
Id of the chatbot thread
Id of the chatbot
Id of the user chatting in the thread
Mode of the thread
AI
, AGENT
Timestamp indicating when the thread has been started
Timestamp indicating when the thread has been last updated
Timestamp indicating when the thread has been ended
Indicates whether conversation has been escalated or not
All messages are sent to this webhook url
The token which is sent in header in the calls made to the above webhook url for all messages
Messages of the thread
Id of the message
Type of the message in the thread
NORMAL_MESSAGE
, USER_MESSAGE
, AGENT_MESSAGE
, SYSTEM_MESSAGE
Type of the message if type of the message is SYSTEM_MESSAGE
CONVERSATION_ESCALATED
, EXCEEDED_USAGE_LIMITS
, EMAIL_VERIFIED
, ENTERED_WRONG_OTP
, PROVIDED_EMAIL
, PERSONA_SELECTED
, PROBLEMS_WITH_UPSTREAM_PROVIDER
User's reaction to the message
POSITIVE
, NEGATIVE
, NEUTRAL
Sources used to answer the question
Indicates whether this message is escalated or not
Url of the icon used in this message
Quick prompts that have been configured by chatbot owner
Id of the quick-prompt
Title of the quick-prompt. This is the text that is shown as button in the chatbot.
Link of the quick prompt. If this link is not null, then when you click on the quick prompt in the chatbot, this link will be opened instead of sending a message to the chatbot.
Description of the quick-prompt. This is the message that will be sent to the chatbot when you click on the quick-prompt inside the chatbot.
GPT Model used to answer the question
Number of messages that are read in this thread
Chat User
Id of the user
Name of the user
Email Id of the user
Phone Number of the user
Indicates whether the user is verified or not
Timestamp indicating when the user is created
Timestamp indicating when the user is last updated
Was this page helpful?