GET/v2/webhooksFind all webhooks

Find all webhooks for this organization. Sensitive information will not be returned.
parameterorganizationIdId for the organization in question: Number
headerAuthorizationAuthentication token (bearer token or API key).

Response

status401Invalid authentication token
[{
"id" : Number,
"deviceIds" : [Number],
"deviceGroupIds" : [Number],
"webhookUrl" : String,
"topics" : ["DeviceActivationEvents" / "DeviceDeactivationEvents" / "DeviceStatusEvents" / "DeviceTamperEvents"]
}]

Example: Find webhooks

GET/v2/webhooks

parameterorganizationId8
headerAuthorizationBearer f971d1ec-7991-4c78-afb5-b69a00552415

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
[{
"id": 4,
"deviceIds": [96],
"deviceGroupIds": [],
"webhookUrl": "https://webhook.example.com/api",
"topics": ["DeviceActivationEvents", "DeviceDeactivationEvents", "DeviceStatusEvents", "DeviceTamperEvents"]
}
]