question

Rpbhoir30 avatar image
Rpbhoir30 asked Rpbhoir30 commented

authenticate the app

How to authenticate the app with a super admin user in order to receive voicemail event notification for other users than oneself(Webhook Subscription)?

authenticationwebhooks
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 Rpbhoir30 commented

You can authenticate your app with a super admin user, read your account extensions to detect the extension id of each extension you want to get a voicemail notification. Then subscribe for the voicemail event notification as shown below:

var eventFilters = [
      '/restapi/v1.0/account/~/extension/{extensionId_1}/voicemail', // e.g. 101
      '/restapi/v1.0/account/~/extension/{extensionId_2}/voicemail', // e.g. 102
      '/restapi/v1.0/account/~/extension/{extensionId_n}/voicemail', // e.g. n
]


11 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.

Rpbhoir30 avatar image Rpbhoir30 commented ·

ok. can you tell what are the steps for app authentication?

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Rpbhoir30 commented ·

For this, you can do a little self-study from this dev guide and get back to me if you have specific questions.

0 Likes 0 ·
Rpbhoir30 avatar image Rpbhoir30 Phong Vu ♦♦ commented ·

Hi @Phong Vu ,

I have authenticated app using JWT auth((https://developers.ringcentral.com/guide/authentication/jwt-flow)

Voicemail Webhook is sent for all extension except Queue calls extension.

Can you guide me here?

0 Likes 0 ·
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