Hello all,
I'm new to event polling (hail to webhooks...), never created one, but today I had to.
I try to configure a request, but the request URL is changed from:
/apis/pbx/events
to
/apis/pbx/trigger/events
Why is this? I've seen more posts on this, but no (clear) answer yet. When I perform a get request on the latter URL, I get (obviously) an error. My trigger action doesn't work either. Any suggestions?
Its hard to explain this really, but let me try. There are 2 reasons--
(1) We wanted to provide a common path for triggers. Multiple webhook triggers, for instance, can be mapped to a single webhook subscription endpoint.
(2) Polling triggers often rely on a specific Url/resource that returns a list of items. Many connectors want to expose that endpoint as an operation itself
The above means that you need an extra path for triggers. We just picked on using a '/trigger' prefix.
Hope this explains!