question

Rajeev Garg avatar image
Rajeev Garg asked Rajeev Garg edited

How to pass Exercise all requested permissions for Glip scope(permission)

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 Messaging For Team Messaging related operations
Webhook Subscriptions Needed for Subscription enable
Glip For 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

graduation
1631716232357.png (47.4 KiB)
1 |1500 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.

1 Answer

Phong Vu avatar image
Phong Vu answered Rajeev Garg edited

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

4 comments
1 |1500 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.

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.


0 Likes 0 ·

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

0 Likes 0 ·

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.

0 Likes 0 ·
1631885750276.png (46.5 KiB)
1631886253097.png (87.2 KiB)
Show more comments

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys