查询指定客服技能
GET
https://open.feishu.cn/open-apis/helpdesk/v1/agent_skills/{agent_skill_id}
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
400 | 154000 | Bad request, please check your request body | 请求不合法,请检查参数 |
403 | 154003 | Please check you have the correct access | 检查是否申请正确权限 |
500 | 155000 | Internal error | 内部错误,请联系我们 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.feishu.cn/open-apis/helpdesk/v1/agent_skills/' \
--header 'Authorization;'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"agent_skill": {
"id": "test-skill-id",
"name": "skill-name",
"rules": [
{
"id": "test-skill-id",
"selected_operator": 8,
"operator_options": [
3
],
"operand": {
"selected_departments": [
{
"id": "部门ID",
"name": "IT"
}
]
},
"category": 3,
"display_name": "中文知识库分类"
}
],
"agent_ids": [
"ou_ea21d7f018e1155d960e40d33191f966"
],
"is_default": false,
"agents": [
{
"id": "ou_ea651a5c09e2d01af8acd34059f5359b",
"avatar_url": "https://avatar-url.com/test.png",
"name": "test-user"
}
]
}
}
}
请求参数
Path 参数
agent_skill_id
string
必需
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
返回响应
修改于 2023-02-02 05:55:48