How to login to RingCentral?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
  • (Edited)
To log in to RingCentral, get the Platform object and call its authorize method, providing valid username, extension, and password values. Enter your phone number in E.164 format for username. The “+” may be omitted.

A Promise is returned, and you can use its then method to specify your continuation function, and its catch method to specify an error handling function.
var platform = rcsdk.getPlatform();
   username: '+18001234567', // your phone number in E.164 format
   extension: '101', // leave blank if direct number is used
   password: 'yourpassword'
}).then(function(ajax) {
   // your code here
}).catch(function(e) {
   alert(e.message  || 'Server cannot authorize user');
Photo of TT

TT, Alum

  • 412 Points 250 badge 2x thumb

Posted 4 years ago

  • 1

Be the first to post a reply!