Webhook statistics

Solved
david_n_m_bond
Building a reputation

Webhook statistics

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
michalc
Meraki Employee
Meraki 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
michalc
Meraki Employee
Meraki 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.
david_n_m_bond
Building a reputation

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

Author, https://www.nuget.org/packages/Meraki.Api/
david_n_m_bond
Building a reputation

@michalcI 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/
david_n_m_bond
Building a reputation

@michalc 

 

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/
Get notified when there are additional replies to this discussion.