Skip to main content

Hello.


I'm trying to send SMS through API. I'm getting the same errors as in https://devcommunity.ringcentral.com/ringcentraldev/topics/send-sms-via-curl-request , so I'm trying to follow the same guide. However I am not able to add Phone for my second account, whenever I click - I get error message "No numbers available in selected area - please select an alternate area".


By the way, is there any guide how to set up the simplest user with free-only services just to test SMS messages? As it is a requirement for an App to go through Sandbox first I assume there is some free way to test it, but unfortunately I have not yet found it.


Thank you in advance for help.


I may be completely mistaken about this ( and maybe someone from RingCentral will correct me ), but it is my assumption that you can only have one direct line (DID) in the Sandbox.

I have been unable to add a second DID to our Sandbox since the very beginning. You can add as many users as you like, but I always ran into the same issue as you when attempting to assign additional dialing numbers ("No number available") in any area I tried.

We ended up working with what we had, which is the MainCompanyNumber + one (1) Admin account with its one (1) DID. That admin account has all the privileges you are interested in.

We did as much testing as we could using that one Admin extension + a dummy user account we created which had no dialing or sms privileges of any kind...



Could you please let me know what account settings should I use to be able to test SMS sending? I mean what should I change in RingCentral web interface?

I think I have found a free number in Quebec, but looks like I have to pay for using it. I need it for few days just for testing my application, in production I'll have something different, right? Is it possible to test an app without extra payments? Very frustrating situation.

Hi Oleksandra,


We have added the Digital Line to the extension 102. To add more Direct Numbers / Digital Lines please take a look at the article :

https://support.ringcentral.com/article/How-to-Assign-an-Existing-Digital-Line-to-a-different-extension.html


As for sending SMS please take a look at our :

API Explorer : https://developer.ringcentral.com/api-explorer/latest/index.html#/!/Messages/sendSMS

API Guide : https://developer.ringcentral.com/api-docs/latest/index.html#!#RefCreateSMSMessage

SDK : https://github.com/ringcentral/ringcentral-js#sms





Reply