Query webhook status via API
After checking in with Xero support there I found there is there no way to poll the webhook status.
It is important to us that the webhook remains "OK" and we have had situations where it has disconnected due to changes in our software that did not go noticed which has required manual reconnection.
If we are able to query the webhook status then we can hook this up to our monitoring and react accordingly.
-
Bob Brown commented
Our workaround for this will be to create a contact that we modify periodically and ensure that we see the updates coming through via the webhook. Not ideal though as the customer will be able to see this contact.