How does OAuth work as far as getting the token and refreshing of the token in my code?
Does my app need to request a new token after a period of time?
The parameter for refresh_token is almost same as grant_type password with minor change.
url will be same: https://platform.devtest.ringcentral.com/restapi/oauth/token
"Accept":"application/json“ "Content-Type":"application/x-www-form-urlencoded“ "Authorization",:"Basic <ClientID:ClientSecret in base 64>
In body, we need to pass the parameters in following way :
username=<account phone number>&password=<account password>&extension=<your extension>&grant_type=refresh_token&refresh_token=<the refresh token generated>
2 People are following this question.
Team messaging, video meetings
and phone - all in one app.
Get the new RingCentral app