获取应用-获取指定的应用详情
GET
/cgi-bin/agent/get
服务端API企业内部开发第三方应用开发智慧硬件开发
企业仅可获取当前凭证对应的应用;第三方仅可获取被授权的应用。
文档ID: 10087
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90227
https://open.work.weixin.qq.com/api/doc/90001/90363
https://open.work.weixin.qq.com/api/doc/90002/90845
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://qyapi.weixin.qq.com/cgi-bin/agent/get?agentid={{agentid}}&access_token=access_token'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"agentid": 1000005,
"name": "HR助手",
"square_logo_url": "https://p.qlogo.cn/bizmail/FicwmI50icF8GH9ib7rUAYR5kicLTgP265naVFQKnleqSlRhiaBx7QA9u7Q/0",
"description": "HR服务与员工自助平台",
"allow_userinfos": {
"user": [
{
"userid": "zhangshan"
},
{
"userid": "lisi"
}
]
},
"allow_partys": {
"partyid": [
1
]
},
"allow_tags": {
"tagid": [
1,
2,
3
]
},
"close": 0,
"redirect_domain": "open.work.weixin.qq.com",
"report_location_flag": 0,
"isreportenter": 0,
"home_url": "https://open.work.weixin.qq.com",
"customized_publish_status": 1
}
请求参数
Query 参数
agentid
应用id
示例值:
{{agentid}}
access_token
调用接口凭证
示例值:
access_token
返回响应
修改于 2022-12-01 06:06:39