Chatbot Follow Up Prompts
Fetch All Follow Up Prompts
Fetch all the follow up prompts of a particular chatbot
GET
/
v0
/
chatbots
/
{chatbotId}
/
follow-up-prompts
Authorization
Path
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/follow-up-prompts \
--header 'Authorization: <authorization>'
{
"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
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
chatbotId
string
requiredId of the chatbot
Response
200 - application/json
success
boolean
Indicates whether this is success response or error response
message
string
Overall message regarding the operation performed
data
object
Data returned from the server
Was this page helpful?
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/follow-up-prompts \
--header 'Authorization: <authorization>'
{
"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
}
]
}
}