countOrgWebhooksDeliveries

GET https://{{host}}/api/v1/orgs/:org_id/webhooks/:webhook_id/events/count

Query Parameters

NameTypeDescription
org_idstringorg ID
site_idstringsite ID
webhook_idstringwebhook object ID
status_codeintHTTP response status code
topicstringwebhook topic
Topics Supported:
- alarms
- audits
- device-updowns
- occupancy-alerts
- ping

Response Parameters

NameTypeDescription
idstringdelivery ID
req_headersobjectHTTP request headers
req_urlstringHTTP request URL
req_payloadobjectHTTP request payload
resp_headersobjectHTTP response headers
resp_bodystringHTTP response body
errorstringerror message, if there is one

Request Params

KeyDatatypeRequiredDescription
status_codenumber
topicstringalarms / audits / device-updowns / occupancy-alerts / ping
limitnumber

RESPONSES

status: OK

{"results":[{"status":"success","count":20},{"status":"failure","count":1}],"limit":10,"start":1712085924,"end":1712172324,"distinct":"status","total":2}