来自ID开放平台
oauth2/access_token
OAuth2的access_token接口
URL
https://api.10000.com/customer/get_groups
HTTP请求方式
GET
请求参数
| 必选 | 类型及范围 | 说明 | |
|---|---|---|---|
| client_id | true | string | 申请应用时分配的AppKey。 |
| access_token | true | string | 采用OAuth授权方式为必填参数,OAuth授权后获得。 |
| coid | true | integer | 需要查询的企业ID。 |
返回数据
| 返回值字段 | 字段类型 | 字段说明 |
|---|---|---|
| id | integer | 分组ID |
| name | string | 分组名称 |
| coid | integer | 企业ID |
| total | integer | 分组下的客服人数 |
| create_time | integer | 分组创建时间戳 |
[
{
"id": "15",
"name": "test",
"coid": "10123",
"create_time": "1387859199",
"total": 5
},
{
"id": "16",
"name": "test",
"coid": "10123",
"create_time": "1387859199",
"total": 1
}
]