獲取客服帳號列表,包括所有的客服帳號的客服ID、名稱和頭像。
**請求方式**: GET(**HTTPS**)
**請求地址**: https://qyapi.weixin.qq.com/cgi-bin/kf/account/list?access\_token=ACCESS\_TOKEN
**參數說明**:
| 參數 | 必須 | 類型 | 說明 |
| --- | --- | --- | --- |
| access\_token | 是 | string | 調用接口憑證 |
**權限說明**:
僅允許微信客服的Secret所獲取的access\_token調用。
**返回結果**:
~~~
{ "errcode": 0, "errmsg": "ok", "account_list": [ { "open_kfid": "wkAJ2GCAAASSm4_FhToWMFea0xAFfd3Q", "name": "客服帳號名稱", "avatar": "https://wework.qpic.cn/wwhead/duc2TvpEgSSjibPZlNR6chpx9W3dtd9Ogp8XEmSNKGa6uufMWn2239HUPuwIFoYYZ7Ph580FPvo8/0" } ]}
~~~
**參數說明**:
| 參數 | 類型 | 說明 |
| --- | --- | --- |
| errcode | int32 | 返回碼 |
| errmsg | string | 錯誤碼描述 |
| account\_list | obj\[\] | 帳號信息列表 |
| account\_list.open\_kfid | string | 客服帳號ID |
| account\_list.name | string | 客服帳號名稱 |
| account\_list.avatar | string | 客服頭像URL |