服务商id打通接口
POST
https://aa-hub.ddregion.com/api/v2/customer/transform
登录企业微信管理后台,打开 「开发者工具 - 应用程序 - 存储 - Cookie - https://work.weixin.qq.com」在右侧找到 「wxpay.corpid」复制它的值(1970 开头)
请求参数
Query 参数
token
string
企业级接口调用凭证
Body 参数application/json
wxCorpId
string
服务商id
imBotId
string
托管账号系统id
imContactIds
array[string]
客户系统id
示例
{
"wxCorpId": "1970324945115309",
"imBotId": "1688853462929494",
"imContactIds": [
"7881301676927825"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://aa-hub.ddregion.com/api/v2/customer/transform?token' \
--header 'Content-Type: application/json' \
--data-raw '{
"wxCorpId": "1970324945115309",
"imBotId": "1688853462929494",
"imContactIds": ["7881301676927825"]
}'
返回响应
🟢200成功
application/json
Body
errcode
number
必需
errmsg
string
必需
data
array [object {2}]
id对应关系数据
imContactId
string
系统联系人id
externalUserId
string
对应的服务商加密外部联系人id
示例
{
"errcode": 0,
"errmsg": "string",
"data": [
{
"imContactId": "string",
"externalUserId": "string"
}
]
}
修改于 2024-03-29 02:07:23