curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/get_range?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"strategy_id":1,"cursor":"CURSOR","limit":1000}'
{
"errcode": 0,
"errmsg": "ok",
"range": [
{
"type": 1,
"userid": "zhangsan"
},
{
"type": 2,
"partyid": 1
}
],
"next_cursor": "NEXT_CURSOR"
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通