Question

CURL statement

  • 31 March 2018
  • 1 reply
  • 224 views

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?


1 reply

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.

Reply