{
"imContactId": "string",
"unionId": "string",
"externalUserId": "string"
}
curl --location --request POST '/api/v1/customer/relation?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"imContactId": "string",
"unionId": "string",
"externalUserId": "string"
}'
{
"errcode": 0,
"errmsg": "ok",
"data": {
"orgId": "646d855d60c66476e70518g8",
"unionId": "oDEUm6v-fp0TDLwTwS2CNVvVUgDA",
"externalUserIds": [
{
"externalUserId": "wmrRhyBgAAO_U3HWMS928XTEEGY-rdzg",
"corpId": "ww5ecc1acd5dc2568d"
}
],
"imContactId": "7881301204958266",
"imBots": [
{
"imBotId": "1688858069965437",
"wxUserId": "name"
}
],
"wecomChatIds": [
"wrrRhyBgAAvrrmMWV3LS342wH-IDyQWg",
"wrrRhyBgAAsa5CoqzikjuxElryrxWedQ",
"wrrRhyBgAAlYQ52L47pVtXfwoC-c12_Q"
]
}
}