创建客服组
POST /apiv2/groups.json
调用权限
admin
Note:如果要设置客服组里的客服,可以设置agents参数,类型为数组,元素值为客服id,如:
{"agents":[123,232]}
curl 示例
curl https://{subdomain}.kf5.com/apiv2/groups.json \ -H "Content-Type: application/json" -d '{"group": {"name": "My Group"}}' -v -u {email_address}:{password} -X POST
返回示例
Status: 201 Created Location: https://{subdomain}.kf5.com/apiv2/groups/{id}.json{ "group": { "id": 234, "name": "My Group", ... }}