question

christian-sanford5509 avatar image
christian-sanford5509 asked ·

Add/Authorize Phone Numbers to Send SMS via the RingCentral API

How can i authorize phone numbers to be able to send SMS via the API.

Calling /restapi/v1.0/account/~/extension/~/sms only allows me to send from one number (the main account #).

after review of the API and FAQ page i noticed another API call to Get a list of Phone numbers Authorized to send SMS account/~/extension/~/phone-number. From the result set there's only one number.

How do i add/authorize numbers to that list?
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
ak avatar image
ak answered ·
Hi Christian,

The GET Extension Phone Number List would return the list of phone numbers that are used by a particular extension. The numbers from that list would be mapped to a feature named:

"features": [
        "SmsSender",
        "MmsSender",
        "CallerId"
      ]
Which means you could filter the phone numbers on an extension to identify the numbers which could be used to send SMS. We do not have an API to edit the features on the phone number. 

However, you could add numbers to your extension.

Sandbox:

You can use sandbox numbers provided in Developer Portal. For additional numbers, you can add up to 4 numbers and extensions to your Sandbox Online account here: https://service.devtest.ringcentral.com/

Here is how you add numbers in the numbers to Sandbox Online account:  Adding a Digital Line (KB 3136) 

Production:

You are free to add as many numbers but the service web URL would be:
https://service.ringcentral.com/

Feel free to reach us out at  devsupport@ringcentral.com for additional support.
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.