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 Follow Up Prompts
Fetch all the follow up prompts of a particular chatbot
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/follow-up-prompts \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Fetched follow-up prompts of the chatbot successfully",
"data": {
"followUpPrompts": [
{
"id": "538aa9ca-ef69-4a1a-a6a2-ba1f62f05c43",
"title": "Contact us",
"description": "How to contact you?",
"isEscalationPrompt": false
},
{
"id": "40ffc3fe-9d74-439c-bfec-8b0d69a94836",
"title": "Yo",
"description": "Hey what's up?",
"isEscalationPrompt": false
}
]
}
}
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
Id of the follow-up prompt.
Title of the follow-up-prompt. This is the text that is shown as button in the chatbot.
Link of the follow-up prompt. If this link is not null, then when you click on the follow-up prompt in the chatbot, this link will be opened instead of sending a message to the chatbot.
Description of the follow-up-prompt. This is the message that will be sent to the chatbot when you click on the follow-up-prompt inside the chatbot.
Indicates whether the follow-up prompt is escalation prompt or not.
Was this page helpful?
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/follow-up-prompts \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Fetched follow-up prompts of the chatbot successfully",
"data": {
"followUpPrompts": [
{
"id": "538aa9ca-ef69-4a1a-a6a2-ba1f62f05c43",
"title": "Contact us",
"description": "How to contact you?",
"isEscalationPrompt": false
},
{
"id": "40ffc3fe-9d74-439c-bfec-8b0d69a94836",
"title": "Yo",
"description": "Hey what's up?",
"isEscalationPrompt": false
}
]
}
}