article

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.
topic-default
5 comments
1 |1000

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:  https://github.com/bdeanindy/ringcentral-faq

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:  https://github.com/ringcentral/ringcentral-faq/pull/1

While I am waiting for the Pull Request to be reviewed and merged, you can view it on my fork here:  https://github.com/bdeanindy/ringcentral-faq
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.

Regards,
Mathikumar.C
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.

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

Regards,
Mathikumar.C

0 Likes 0 ·

Article

Contributors

tt contributed to this article

Navigation