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
How to pass Exercise all requested permissions for Glip scope(permission)
Tags: graduation
Sep 15, 2021 at 7:34am   •   1 replies  •  0 likes
Rajeev Garg

Hi,

We are in process of satisfying Graduation requirements for our RingCentral BOT application in Dev sandbox. We enabled the Bot webhooks and subscribed to Glip:Posts and Glip:Groups events in Apps --> <AppName> --> Bot Webhooks . The webhook subscription is created automatically upon Bot installation and it is working as expected.


Our permissions are

Team MessagingFor Team Messaging related operations
Webhook SubscriptionsNeeded for Subscription enable
GlipFor the subscribed Glip:Posts and Glip:Groups events


Here is our current status of Graduation Requirement

1631716232357.png


Could you please help us to satisfy Exercise all requested permissions for Glip scope(permission) as mentioned above ?


we are using HapiJs framework and once we receive the webhook Glip events we responded with 200 Status code.

reply('').code(200);


Is there anything we missed out or need to handle to satisfy this requirement ?

Thanks in Advance.


Regards,

Raja

1 Answer
answered on Sep 15, 2021 at 8:24am  

I think Team Messaging and Glip are equivalent. Glip is there for legacy. Try removing the Glip permission and wait for an hour and retry the graduation.

Let me know if that does not help


 0
on Sep 15, 2021 at 8:41am   •  0 likes

Hi,

If we remove the Glip from the permissions then Webhook subscription is not created.

Glip permission is needed for Glip:posts and Glip:Groups webhook events subscription.


on Sep 15, 2021 at 1:24pm   •  0 likes

Then try removing the Team Messaging permission. I did removed the Glip and use the Team Messaging and it looks like it still works.

on Sep 20, 2021 at 7:06am   •  0 likes

Hi,

We disabled the webhook configuration in the Bot Webhook section and called /restapi/v1.0/subscription from the code.

We set TeamMessaging and WebhookSubscriptions as needed permissions

Now we met the requirements for 'Exercise all requested permissions'

1632146907733.png


We will continue our testing and let you know it we still have any issues.
Thank you for your suggestions.

on Sep 17, 2021 at 6:44am   •  0 likes

Removed the TeamMessaging scope.
1631885750276.png
We are creating Teams and posting messages. App functionality works good .

But still Glip is not succeeded as above.

@Phong Vu

Do we need to call /restapi/v1.0/subscription endpoint from the code ?

We enabled the webhook in the Bot Webhook section as below

1631886253097.png

It automatically creates the Glips:Posts and Glip:Groups subscription for us.



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