客户联系「联系我」管理-获取企业已配置的「联系我」方式
POST
/cgi-bin/externalcontact/get_contact_way
服务端API企业内部开发第三方应用开发
原文档地址:
https://open.work.weixin.qq.com/api/doc/92228
https://open.work.weixin.qq.com/api/doc/90000/90135/92572
https://open.work.weixin.qq.com/api/doc/90001/90143/92577
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_contact_way?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"config_id":"42b34949e138eb6e027c123cba77fad7"
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "string",
"contact_way": {
"config_id": "string",
"type": 0,
"scene": 0,
"style": 0,
"remark": "string",
"skip_verify": true,
"state": "string",
"qr_code": "string",
"user": [
"string"
],
"party": [
0
],
"is_temp": true,
"expires_in": 0,
"chat_expires_in": 0,
"unionid": "string",
"conclusions": {
"text": {
"content": "string"
},
"image": {
"pic_url": "string"
},
"link": {
"title": "string",
"picurl": "string",
"desc": "string",
"url": "string"
},
"miniprogram": {
"title": "string",
"pic_media_id": "string",
"appid": "string",
"page": "string"
}
}
}
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:47