- Overview of OpenAPI
- SlackOpenAPI
- ShopifyOpenAPI
- GithubAPI
- DiscordOpenAPI
- 历史文档(不推荐)
- 开发钉钉应用
- 服务端API
- 新版服务端API(DingTalk OpenAPI)
- 生态伙伴API
客户联系「联系我」管理-获取企业已配置的「联系我」方式
POST
http://127.0.0.1/cgi-bin/externalcontact/get_contact_way
第三方应用开发/客户联系/企业服务人员管理
最后修改时间:2022-08-30 03:03:36
责任人:未设置
原文档地址:
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
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
config_id
string
联系方式的配置id
示例
{
"config_id": "42b34949e138eb6e027c123cba77fad7"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://127.0.0.1/cgi-bin/externalcontact/get_contact_way?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"config_id": "42b34949e138eb6e027c123cba77fad7"
}'
返回响应
🟢200成功
application/json
Body
errcode
integer
返回码
errmsg
string
必需
contact_way
object
必需
config_id
string
必需
type
integer
必需
scene
integer
必需
style
integer
必需
remark
string
必需
skip_verify
boolean
必需
state
string
必需
qr_code
string
必需
user
array[string]
必需
party
array[integer]
必需
is_temp
boolean
必需
expires_in
integer
必需
chat_expires_in
integer
必需
unionid
string
必需
conclusions
object (conclusions)
必需
示例
{
"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"
}
}
}
}

修改于 2022-08-30 03:03:36