Hi Robert,
The event filters that you have passed for creating the subscription via WebHook is wrong.
Kindly use the below code and try the API call again:
var _eventFilters = [];
_eventFilters.push('/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true&aggregated=true')When you pass the event filters for an extension you can either provide :
1.) (~) which would refer to the extension authorized by.
2.) Provide the extensionID for an extension, which you can look up using the below API Endpoint
Get Extensions List GET
/v1.0/account/{accountId}/extension/
101 is extension number. Extension ID is expected.