What is the curl command for requesting an access token using Password Flow?
© 1999-2024 RingCentral, Inc. All rights reserved.
Privacy Notice
What is the curl command for requesting an access token using Password Flow?
curl -X POST "https://platform.ringcentral.com/restapi/oauth/token"Source:
-H "Accept: application/json"
-H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Basic <access-token>" -d "username=<user-phone-number>&password=<user-password>&extension=<user-extension>&grant_type=password
Here the problem you are facing is the header Authorization which is Basic <base64 of appKey:appSecret> .. If you pass that header in curl, your problem will be solved
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.