GET
/
v0
/
chatbots
/
{chatbotId}
/
follow-up-prompts
Fetch All Follow Up Prompts
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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Response

OK

Success Response

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