获取所有快速提示
开发环境
开发环境
GET
/api/v0/chatbots/{chatbotId}/quick-prompts
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/v0/chatbots//quick-prompts' \
--header 'Authorization: Bearer <token>'
响应示例响应示例
200 - 成功示例
{
"success": true,
"message": "Fetched quick prompts of the chatbot successfully",
"data": {
"prompts": [
{
"id": "538aa9ca-ef69-4a1a-a6a2-ba1f62f05c43",
"title": "Contact us",
"description": "How to contact you?"
},
{
"id": "40ffc3fe-9d74-439c-bfec-8b0d69a94836",
"title": "Yo",
"description": "Hey what's up?"
}
]
}
}
请求参数
Path 参数
chatbotId
string
必需
Header 参数
Authorization
string
必需
示例值:
Bearer <token>
返回响应
修改于 2024-03-28 08:02:57