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
}
]
}
}
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
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Id of the chatbot
OK
Success Response
Was this page helpful?