座席在线客服状态接口

查询座席在线客服状态

请求方式:POST
请求路径
/openapi/im/agentStatus/query
请求参数
{ "agentNumber":["6001","6008"] }
响应参数
{ "success": true, "message": "200 ok!", "code": "200", "data": [ { "agentNumber": "6001", "statusCode": "open", "statusName": "空闲" }, { "agentNumber": "6008", "statusCode": "close", "statusName": "忙绿" } ] }
statusCode备注
open空闲
close忙碌
offline离线

修改座席在线客服状态

请求路径
/openapi/im/agentStatus/update
请求参数
{ "agentNumber":"6000", "statusCode":"open" }
statusCode备注
open空闲
busy忙碌
rest小休
响应参数
{ "success": true, "message": "200 ok!", "code": "200", "data": null }
2025-01-08