question

tt avatar image
tt asked ·

How to login to RingCentral?

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();
platform.authorize({
                 
   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');
});
topic-default
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.

0 Answers

· Write an Answer

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.