03-13-2025 04:00 AM
We have recently discovered that a number of Webhooks were not delievered due to an authentication issue.
Is there an API endpoint for retrieving Webhook delivery logs / stats?
If not, please could one be added?
Solved! Go to Solution.
03-13-2025 04:27 AM
Get Organization Webhooks Logs
03-13-2025 04:27 AM
Get Organization Webhooks Logs
03-13-2025 05:26 AM
Thanks @michalc1! Not sure why I couldn't find that!
03-13-2025 09:17 AM
@michalc1I see that there are responseCodes of -1. What does that indicate? It would be useful to also have information relating to DNS, TCP and SSL, as follows:
{
"dnsSuccess": true,
"tcpSuccess": true,
"sslSuccess": false,
"httpSuccess": null
}
From this, we would be able to determine that the HTTP negotiation failed at the SSL stage.
Can I ask for that to be fed back to the product team?
03-13-2025 09:35 AM
It gets worse. There are no unique ids on the records and there are multiple indentical records (all fields are the same), down to the microsecond. Are the repetitions down to retry attempts? If so, the "sentAt" fields should be updated and ideally there would be an "attemptIndex" property. Please could we (at least) have a unique id added to each so that we can tell them apart?
Example (details changed to protect the innocent):
[
{
"alertType": "APs went down",
"loggedAt": "2025-03-12T15:24:37.973999Z",
"networkId": "N_123123123123123123",
"organizationId": "123123",
"responseCode": -1,
"responseDuration": 6007,
"sentAt": "2025-03-12T15:24:31.964999Z",
"url": "https://webhooks.example.com/api/Endpoint?xxx=yyy"
},
{
"alertType": "APs went down",
"loggedAt": "2025-03-12T15:24:37.973999Z",
"networkId": "N_123123123123123123",
"organizationId": "123123",
"responseCode": -1,
"responseDuration": 6007,
"sentAt": "2025-03-12T15:24:31.964999Z",
"url": "https://webhooks.example.com/api/Endpoint?xxx=yyy"
},
...
]
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide