curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/license/get_active_info_by_user' \
--header 'Content-Type: application/json' \
--data-raw '{
"corpid": "CORPID",
"userid": "USERID"
}'
{
"errcode": 0,
"errmsg": "ok",
"active_status": 1,
"active_info_list": [
{
"active_code": "code1",
"type": 1,
"userid": "USERID",
"active_time": 1640966400,
"expire_time": 1640966400
},
{
"active_code": "code1",
"type": 2,
"userid": "USERID",
"active_time": 1640966400,
"expire_time": 1640966400
}
]
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通