获取后续提示
开发环境
开发环境
GET
/api/v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}
请求示例请求示例
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 prompt of the chatbot successfully",
"data": {
"id": "fd0bfc2d-2ea6-41dc-afb9-7a3ea7b2b729",
"title": "Test Bot",
"description": "This is a test chatbot",
"isEscalationPrompt": false
}
}
请求参数
Path 参数
chatbotId
string
必需
followUpPromptId
string
后续提示Id
Header 参数
Authorization
string
必需
示例值:
Bearer <token>
返回响应
修改于 2024-03-28 07:25:24