question

bill259 avatar image
bill259 asked ·

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?
aaa
1 |1000 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

· Write an 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.
Share
1 |1000 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.