curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/service/get_provider_token' \
--header 'Content-Type: application/json' \
--data-raw '{"corpid":"xxxxx","provider_secret":"xxx"}'
{
"provider_access_token": "enLSZ5xxxxxxJRL",
"expires_in": 7200
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通