Starting a conversation that includes code samples

  • 3
  • Announcement
  • Updated 1 year ago
Just a tip for anyone who wants to paste code into this community at present please use 'p r e' formatting provided during entering your post to highlight code appropriately.

For instance:

var RC_SERVER_PRODUCTION = 'https://platform.ringcentral.com';
var RC_SERVER_SANDBOX = 'https://platform.devtest.ringcentral.com';

var rcsdk = new RCSDK({
server: RC_SERVER_SANDBOX,
appKey: 'yourAppKey',
appSecret: 'yourAppSecret'
});

The SDK is represented by the global RCSDK constructor. Your application must create an instance of this object.

In order to bootstrap the RingCentral JavaScript SDK, you have to
first get a reference to the Platform singleton and then configure it.
Before you can do anything using the Platform singleton, you need to
configure it with the server URL (this tells the SDK which server to
connect to) and your unique API key (this is provided by RingCentral’s
developer relations team).
Photo of TT

TT, Alum

  • 412 Points 250 badge 2x thumb

Posted 3 years ago

  • 3
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
Thanks.  More samples = More Use.
Photo of AK

AK, Official Rep

  • 4,362 Points 4k badge 2x thumb
We have a Tutorials section on our Developer Portal where you could find some sample code/tutorials on some of the use cases like :
  • Archiving RingCentral Activity Data
  • Getting Started with Event Driven Subscriptions
  • Getting Started with WebRTC
  • Webhooks etc
  • Implement Authorization Code Flow in Public App's ( 3-legged Oauth2 )

Kindly take a look at our Tutorials section for more sample and demos :) 
(Edited)