需要使用自建应用或基础应用的access_token
客户的跟进人,或者用户所在客户群的群主,需要同时在access_token和source_agentid所对应应用的可见范围内
curl --location --request GET 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/from_service_external_userid' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_userid":"aaa",
"source_agentid":100001
}'
{
"errcode":0,
"errmsg":"ok",
"external_userid":"xxx",
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通