question

Kevin Morris avatar image
Kevin Morris asked ·

Stumped on Password Flow URL

What are the complete HTTPS URLs to obtain a token and do a RingOut? I cannot piece together what this URL shd be from the examples. Everything is either just the first part of the URL or is a setting. I need the *complete* URL to get a token, then the *complete* URL to perform a RingOut between two phone numbers. Thanks in advance for any help you can provide.

ringouturlhttps
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Byrne Reese avatar image
Byrne Reese answered ·

This API Reference document should provide the full URL for generating a RingOut: https://developers.ringcentral.com/api-reference/RingOut/createRingOutCall

As for the full URL for retrieving a token... there are two resources I would direct you to. First is our RingOut QuickStart:

https://developers.ringcentral.com/guide/voice/quick-start/node

Using this Quick Start you could write a program that uses Password Auth to generate a RingOut. A trace will give you all the API Calls needed.

The API Reference will break this down in more detail: https://developers.ringcentral.com/api-reference/Get-Token

The full URL will be (for production): https://platform.ringcentral.com/restapi/oauth/token

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Kevin Morris avatar image
Kevin Morris answered ·

I post this:


https://platform.devtest.ringcentral.com/restapi/oauth/token


and I get this:


{

"errorCode": "AGW-404",

"message": "Resource not found",

"errors": []

}



What am I doing wrong?



(Note: I'm using both the "Try It" button in the RingCentral instructional webpage, as well as the "Postman" app. Both give the same result.


1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys