Skip to main content
The First Step
Feb 22, 2021 11:23 AM UTC
Solved

Presence webhook does not work on production

I have created an application on sandbox with Subscription and Read Presence permissions. Created a subscription to listen for inbound calls and send a webhook request to our server. All worked fine in sandbox (i.e called the sandbox number and received the payload as expected). I have graduated the app to production and registered the same webhook, but it doesn't work. I am not getting any hits to the registered endpoint, even though calls are constantly being made to the company

PhongVu
PhongVuAnswer
Community Manager
Feb 22, 2021 4:19 PM UTC

Do you subscribe for presence event notification at extension level or account level?

2 replies

PhongVu
Community Manager
PhongVuAnswer
Community Manager
Feb 22, 2021 4:19 PM UTC

Do you subscribe for presence event notification at extension level or account level?

The First Step
Feb 23, 2021 8:37 AM UTC

Thanks, yeah, I figured I should subscribe to each extension individually. So I called get extensions first, and then subscribed to all of them by passing them to the `eventFilters` array. Is there a way to subscribe on the account level (passing ~ just subscribes to my extension)?