获取所有后续提示
开发环境
开发环境
GET
/api/v0/chatbots/{chatbotId}/follow-up-prompts
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/v0/chatbots//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
}
]
}
}
请求参数
Path 参数
chatbotId
string
必需
Header 参数
Authorization
string
必需
示例值:
Bearer <token>
返回响应
修改于 2024-03-28 07:22:41