question

bill259 avatar image
bill259 asked luke2909 answered

CURL statement

I have created this statement and it works: https://service.ringcentral.com/ringout.asp?cmd=call&username=17274003201&; ext=7001&password=xxxxx&to=&from=17274106584&clid=7274003201&prompt=1


I have been told to use CURL?


So I used this statement in the URL:


curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" -d "{\"from\":{\"phoneNumber\":\"17274106584\",\"forwardingNumberId\":\"\"},\"to\":{\"phoneNumber\":\"17274091962\"},\"callerId\":{\"phoneNumber\":\"7274003201\"},\"playPrompt\":true,\"country\":{\"id\":\"1\"}}" "htt ps://platform.devtest.ringcentral.com/restapi/v1.0/account/17274003201/extension/7001/ring-out"


I do not wee where I send a password or credentials?


Help?

ring out
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.

1 Answer

luke2909 avatar image
luke2909 answered
Hi Bill,

It looks like you're using some of our APIs to create a custom integration or content. The best place to get support on these features is on our developer community at https://devcommunity.ringcentral.com.
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.

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