curl --location --request GET '/oauth/token' \
--header 'access_token;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'fields;' \
--data-urlencode 'client_id=<CLIENT_ID>' \
--data-urlencode 'client_secret=<CLIENT_SECRET>' \
--data-urlencode 'grant_type=refresh_token' \
--data-urlencode 'refresh_token=<REFRESH_TOKEN>'
{
"code": 0,
"message": "",
"message_cn": "",
"data": {
"authorizer_info": {
"account_uin": 2644750491,
"account_id": 2947221,
"scope_list": [
"ads_management",
"ads_insights",
"account_management",
"audience_management",
"user_actions"
],
"wechat_account_id": "spid1234567890",
"account_role_type": "ACCOUNT_ROLE_TYPE_AGENCY"
},
"access_token": "<ACCESS_TOKEN>",
"access_token_expires_in": 86400,
"refresh_token_expires_in": 2592000
}
}