| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 154000 | Bad request, please check your request body | 请求不合法,请检查参数 |
| 403 | 154003 | Please check you have the correct access | 检查是否申请正确权限 |
| 500 | 155000 | Internal error | 内部错误,请联系我们 |
Authorization: Bearer ********************curl --location --request POST '/helpdesk/v1/agent_skills' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "部门技能",
"rules": [
{
"id": "12",
"selected_operator": 8,
"operand": {
"selected_departments": [
{
"id": "部门ID",
"name": "IT"
}
]
}
}
],
"agent_ids": [
"客服ID"
]
}'{
"code": 0,
"msg": "success",
"data": {
"agent_skill_id": "test-skill-id"
}
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通

扫码加入交流群