{{announcement.body}}
{{announcement.title}}

Work With RingCentral APIs

DZone 's Guide to

Work With RingCentral APIs

Let's see how to work with RingCentral APIs.

· Integration Zone ·
Free Resource

If you are using RingCentral products, you can simply integrate RingCentral products with your ideas through RingCentral APIs.

Create a RingCentral APP

In the first place, you need to register a developer account and create a RingCentral APP.

https://developers.ringcentral.com

Sign in and click 'Create App'. You will see the 'Create App - General Settings' page.

Right after you finish this wizard, you will see this config page.

Image title

This is the overview of your app.

On the Application Credentials page, you can get auth info for your apps.

Image title

Work With RingCentral APIs

Now we have enough information to integrate RingCentral with your own ideas.

How about we build a simple App to get our Glip Messages. To realize this app you must assign the 'read messages' permission in creating App step. Otherwise you will hit `no permission` exception.

Source Code:

https://github.com/jakob-lewei/jakob-tool

We have the following things we need to do. And we are going to use Java sdk for RingCentral to realize it.

1. Build a connection.

2. Subscrip glip posts.

Create a connection.

AppConfiguration loadConfiguration = YmlLoadHelper.loadConfiguration();
rc = new RestClient(client_id, client_secret, platform_url); // the id and key in screenshot above
rc.authorize(username, extension, password); // the account in

Subscrip glip post.

Subscription subscription = new Subscription(rc,
new String[]{
"/restapi/v1.0/glip/posts"
},
// do something with message
LOG::info);
subscription.subscribe();

Demo

1. Open your glip with the particular account in rc.authorize (username, extension, password);.

2. Build and start the application.

#> git clone https://github.com/jakob-lewei/jakob-tool.git
#> cd jakob-tool
#> gradle clean build
#> gradle platformSubscriptionMain

Now you can see all your messages in the log. You can do whatever you want for your Glip messages, store in some TODO list, key word scan, auto reply, etc.

Image title

Topics:
api ,java ,ringcentral apis ,ringcentral ,integration ,tutorial

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}