searchOrgWebhooksDeliveries

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

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":[{"id":"47ea9366-bf66-427a-886a-153104bbf355","org_id":"929e52a7-9edc-4e2f-a836-1af577b043ed","site_id":"21134243-0667-44ae-8f58-42b640ad39bb","webhook_id":"6b0b5d05-430a-4414-86ca-eb081aff03e8","status_code":200,"topic":"ping","req_headers":"{\"Content-Type\":[\"application/json\"],\"User-Agent\":[\"Mist-webhook\"]}","req_url":"http://example.com","req_payload":"{\"topic\":\"ping\",\"events\":[{\"id\":\"6b0b5d05-430a-4414-86ca-eb081aff03e8\",\"name\":\"webhook event delivery test\",\"site_id\":\"21134243-0667-44ae-8f58-42b640ad39bb\",\"timestamp\":1685985159.0102212}]}","resp_headers":"{\"Access-Control-Allow-Credentials\":[\"true\"],\"Access-Control-Allow-Methods\":[\"OPTIONS, HEAD, GET, POST, PUT, DELETE\"],\"Access-Control-Allow-Origin\":[\"*\"],\"Access-Control-Expose-Headers\":[\"Date, Server, X-Frame-Options\"],\"Access-Control-Max-Age\":[\"3600\"],\"Content-Length\":[\"3\"],\"Content-Type\":[\"text/html; charset=utf-8\"],\"Date\":[\"Mon, 05 Jun 2023 17:12:39 GMT\"],\"Server\":[\"Apache/2.4.18 (Ubuntu)\"],\"X-Frame-Options\":[\"SAMEORIGIN\"]}","resp_body":"Ok"},{"id":"55b0f02f-ebf6-4ad2-8b10-200508a97581","org_id":"fc7e2967-e7ef-41e6-b007-1217713de05a","site_id":"256c3a35-9cb7-436e-bc6d-314972645d95","webhook_id":"7a11b901-f719-4c91-8aef-deb8699a6364","status_code":200,"topic":"audits","req_headers":"{\"Content-Type\":[\"application/json\"],\"User-Agent\":[\"Mist-webhook\"]}","req_url":"http://example.com","req_payload":"{\"topic\":\"audits\",\"events\":[{\"admin_name\":\"John Doe john.doe@juniper.net\",\"after\":\"{\"radio_config\": {\"band_24\": {\"disabled\": false, \"allow_rrm_disable\": false, \"power_min\": null, \"power_max\": null, \"power\": 10, \"preamble\": \"short\", \"channels\": [1, 10], \"bandwidth\": 20}}}\",\"before\":\"{\"radio_config\": {\"band_24\": {\"disabled\": false, \"allow_rrm_disable\": false, \"power_min\": 8, \"power_max\": 18, \"power\": null, \"preamble\": \"long\", \"channels\": [1, 10], \"bandwidth\": 20}}}\",\"id\":\"737909a2-04ff-4aeb-b9da-cc924e74a4dd\",\"message\":\"Update Site Settings\",\"org_id\":\"fc7e2967-e7ef-41e6-b007-1217713de05a\",\"site_id\":\"256c3a35-9cb7-436e-bc6d-314972645d95\",\"site_name\":\"Test Site\",\"src_ip\":\"1.2.3.4\",\"timestamp\":1685956576.923601,\"user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36\"}]}","resp_headers":"{\"Access-Control-Allow-Credentials\":[\"true\"],\"Access-Control-Allow-Methods\":[\"OPTIONS, HEAD, GET, POST, PUT, DELETE\"],\"Access-Control-Allow-Origin\":[\"*\"],\"Access-Control-Expose-Headers\":[\"Date, Server, X-Frame-Options\"],\"Access-Control-Max-Age\":[\"3600\"],\"Content-Length\":[\"3\"],\"Content-Type\":[\"text/html; charset=utf-8\"],\"Date\":[\"Mon, 05 Jun 2023 17:12:39 GMT\"],\"Server\":[\"Apache/2.4.18 (Ubuntu)\"],\"X-Frame-Options\":[\"SAMEORIGIN\"]}","resp_body":"Ok"}]}