News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Explain Subscription API (Presence API)
Tags: getting started
Apr 10, 2017 at 12:27pm   •   8 replies  •  0 likes
devanand-w

I am trying to use Subscription API to get the call duration of the current ongoing call. But I didn't found much about this API in API Explorer. Can anyone please explain me this API in details and how to get call details using ongoing calls "sessionId"?

Thanks!

8 Answers
answered on Nov 19, 2019 at 9:12am  

@ak @Phong Vu sorry to bother you, I'm bit confused about subscription renewal, I've successfully followed the tutorial for presence events and I now get notified, but after I went through this tutorial https://ringcentral-tutorials.github.io/subscription-basics-nodejs-demo/ I'm confused about subscription renewals do they get handled internally or do we need to use an API after every x interval to renew the subscription to make sure we keep getting the notifications?

Thank you for your time.


 0
answered on Jun 19, 2018 at 5:17pm  
To be able to capture/listen to another extensions presence , the extension that is authenticated should be an admin extension. You should have 'Read Presence' and 'Webhook Subscription' permission added on to your app. 

 0
answered on Mar 12, 2018 at 2:09pm  
allowSeeMyPresence is turned on for my users, I can see webhook presence events for my account, however when I specify another extension when creating a new webhook I get 403. What privilege is needed to create a webhook for an extension other than myself?

 0
answered on Mar 2, 2018 at 5:15am  
This is working. allowSeeMyPresence was turned off for the user that I was using.

 0
answered on Mar 1, 2018 at 11:43am  
Strange, I will try to figure out and get back to you.

 0
answered on Mar 1, 2018 at 6:28am  
On this subscription are we able to do the entire company? If so how would we go about this?

 0
answered on Apr 10, 2017 at 2:10pm  
Our Subscription (Push Notification) API resource empowers developers to enable their client application(s) to create a single subscription (to one or more extension's) and continually receive push notifications in real time for each subscribed extension.

However, this subscription has an expiration time but using the official RingCentral SDKs enables developers to automatically renew the subscription(s) on a timely basis.

When using this approach for your application(s) to receive events on your RingCentral account, no polling is involved.

Subscription API: https://developer.ringcentral.com/api-docs/latest/index.html#!#Notifications.html

View the (official and community developed) RingCentral SDKs: https://developers.ringcentral.com/library/sdks.html

We also have a Tutorial in node.js which you could take a look at under the 'Tutorials' section on our developer portal:
https://ringcentral.github.io/tutorials/
https://ringcentral-tutorials.github.io/subscription-basics-nodejs-demo/

 0
answered on Apr 10, 2017 at 2:07pm  
Will this help: http://ringcentral-api-docs.readthedocs.io/en/latest/notifications_subscriptions/ ?

At the same time it is impossible to get call direction directly from push notification. We are adding this option in one of the future releases.

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us