tt2 avatar image
tt2 posted mathi-kumar1830 commented

JavaScript SDK

The SDKs package RingCentral APIs into easy-to-use libraries for each programming language.

Often, you can handle all interaction with the RingCentral API using methods provided in the SDKs without ever needing to learn more about the lower level details of the API communication itself.

Any communication between an external program and RingCentral is performed through one of our APIs. The APIs are agnostic to development platform and language, allowing you much more flexibility.

RingCentral provides documentation for each API we offer. The documentation has details on each API call, including required fields and response details. For a complete list of the RingCentral APIs, visit here.

If you prefer to code in JavaScript we have an extensive SDK for you available.

Its key benefits are:

  • Automatically handles token lifecycle procedures in multi-tab environment
  • Re-issues non-authorized requests
  • Decrypts PUBNUB notification messages
  • Parses multipart API responses
  • Provides a broad variety of helper functions to work with API requests and responses

You can find the JavaScript SDK with the JS Developer Guide here.

Best Practice Tip: Use the RingCentral JavaScript SDKs when you want to build applications intended to run on web browsers and interact with RingCentral.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

benjamin-dean avatar image benjamin-dean commented ·
That's a great suggestion Mathi and I know our SDK engineers appreciate both your praise and your support (they're super appreciative of contributions in the form of Pull Requests too)!

I'll be working with our engineering team to consolidate our custom API error codes into a useful table and will update our Github FAQ repository with this information:

If you watch that repository, you should receive an email notice when the repository has been updated.
1 Like 1 ·
benjamin-dean avatar image benjamin-dean commented ·
Hey Mathi,

I just submitted a Pull Request to our FAQ on Github which might help. This list might be out of date (once our engineers have provided an updated version I will update the list in Github).

Is this what you wanted please?

Link to Pull Request:

While I am waiting for the Pull Request to be reviewed and merged, you can view it on my fork here:
1 Like 1 ·
mathi-kumar1830 avatar image mathi-kumar1830 commented ·
Ring Central SDK's are really great. I just need a error code description list what Ring central can send as response to JS. I know Forbidden error message is returned many times. But in that i got to know there are list of request are forbidden due to various reasons.(Not enough Funds ,etc..) Could you please provide me a list of error code description. Thanks.
0 Likes 0 ·
mathi-kumar1830 avatar image mathi-kumar1830 commented ·
Hey Dean,

Thanks for your quick response.

Much appreciate for your effort on this !!!. 

I got  (example International Prohibited , Ring out to premium numbers not allowed) as error codes which is not present in given table.

Could you please update once you got latest and updated list of error codes.

0 Likes 0 ·
mathi-kumar1830 avatar image mathi-kumar1830 commented ·
Hi Dean,

Hope you are doing good. 

Could you please do me  a  favour on below conditions. We are using RingCentral SDK in our product. 

We want to know when we will get below call status if we make outgoing call through Ring Out api.

Call Status : Cannot Reach
Caller Status :Generic Error
Callee Status :Generic Error


0 Likes 0 ·

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



BeckyH contributed to this article tt contributed to this article