cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2534
Views
3
Helpful
4
Replies

Webhook statistics

david.bond
Level 4
Level 4

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?

Author, https://www.nuget.org/packages/Meraki.Api/
1 Accepted Solution

Accepted Solutions

michalc1
Cisco Employee
Cisco Employee

Get Organization Webhooks Logs

If you found this post helpful, please give it kudos. If it solved your problem, click "accept as solution" so that others can benefit from it.

View solution in original post

4 Replies 4

michalc1
Cisco Employee
Cisco Employee

Get Organization Webhooks Logs

If you found this post helpful, please give it kudos. If it solved your problem, click "accept as solution" so that others can benefit from it.

Thanks @michalc1! Not sure why I couldn't find that!

Author, https://www.nuget.org/packages/Meraki.Api/

@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?

Author, https://www.nuget.org/packages/Meraki.Api/

@michalc1

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"
},
...
]
Author, https://www.nuget.org/packages/Meraki.Api/