系统wxid转换企业微信外部联系人externalUserId
GET
/api/v1/customer/wxid_to_externalUserId
请求参数
Query 参数
token
string
接口调用凭证
wxid
string
系统客户联系人id
imBotId
string
可选
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/customer/wxid_to_externalUserId?token=&wxid=&imBotId=' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
errcode
number
返回码
errmsg
string
对返回码的文本描述内容
externalUserId
string
客户的企业微信外部联系人id
示例
{
"errcode": 0,
"errmsg": "string",
"externalUserId": "string"
}
修改于 2025-04-03 02:37:25