question

Egor Teplyakov avatar image
Egor Teplyakov asked Phong Vu commented

Webhook subscription demand special permission in Production

Hi!

When I make new subscription via Rest API it creating without Webhook Subscription permission in Sandbox environment.

But in Production it throw error and require Webhook Subscription permission:

1649775905789.png

Regarding the API Reference there are no special permission for this action: https://developers.ringcentral.com/api-reference/Subscriptions/createSubscription

1649776086473.png

Also when I add this permission to application and trying graduate it to production it can't reach to requirements, because Webhook Subscription not using even when I successfully created subscriptions for several times:
1649776063662.png

How can I graduate application to Production if no APIs that use this permission in Sandbox?

Why it required permission only in Production?

call handlingwebhooksrequirements
1649775905789.png (40.7 KiB)
1649776063662.png (37.8 KiB)
1649776086473.png (18.9 KiB)
1 |3000

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 Phong Vu commented

Webhook Subscription permission is required for both sandbox and production environments. I will double check your finding and if it's true, I will let the team know to fix it.

For your current app, can you share the app client id?

2 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Egor Teplyakov avatar image Egor Teplyakov commented ·

Sure, client id is g_pr8ffGQS6VLLE_Bbo0aw

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Egor Teplyakov commented ·

You have so many 429 errors with the GET extension endpoint so you have to better handle the API rate limit. Please read this article and implement a mechanism to control API call accordingly. I will help you move the app to production (if you can't) when you fix that and when the app has acceptable error rate.

1649798607841.png

0 Likes 0 ·
1649798607841.png (28.0 KiB)

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