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 All Threads
Fetch all threads of the chatbot
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Id of the chatbot
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Response
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
List of threads of the chatbot
Id of the chatbot 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 the thread is escalated or not
Indicates whether the thread is marked as important or not
Indicates whether the thread is resolved or not
Count of total messages
x > 0
Count of total positive messages
x > 0
Count of total negative messages
x > 0
Count of total GPT-4 messages
x > 0
Number of messages that have are already read
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
Last message of a 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
Id of the thread this message belongs to
Id of the chatbot this message belongs to
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
Was this page helpful?