Skip to main content
Question

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)?

2 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2331 replies
  • April 20, 2022

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
]



  • Author
  • New Participant
  • 3 replies
  • April 20, 2022

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings