Access_Token有效期为2小时.过期后可以通过 Refresh_Token 刷新。
{
"app_id": "{{app_id10163}}",
"app_secret":"{{app_secret10163}}"
}
curl --location --request POST 'https://jingopenapi.jingsocial.com/v1/oauth2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"app_id": "{{app_id10163}}",
"app_secret":"{{app_secret10163}}"
}'
{
"request_id": "6f843be20b21c5e18b9825616b85b424",
"code": 0,
"msg": "success",
"data": {
"access_token": "535eda1d-a06e-42f9-958f-d244ae72b646",
"refresh_token": "fc5e86a1-81da-4715-a18f-8724ff1fd413",
"scope": "all",
"token_type": "bearer",
"expires_in": 4511
},
"timestamp": 1722583035263
}