Add a Webhook to an Organization
Creates a webhook with a newly generated signing secret, returned once, in this response. It sends the events of every product in the organization, including products added later, unless products names the ones to send. An organization can have at most 20 webhooks.
Authorizations
A user API token, or a product API key created in a product's settings.
A product API key only works on the routes for its own product, under
/api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier}
for that product's devices. What it may do there is decided by the role it
holds, the same way a member's role decides what they may do.
Body
Webhook creation request body
POST body for adding a webhook to an organization
At least one event type
device.connected, device.disconnected, device.health_reported, device.metrics_reported, device.health_status_changed, device.firmware_update.scheduled, device.firmware_update.progress, device.firmware_update.finished, device.firmware_validated, error_group.created, error_group.reopened, deployment_group.workflow_step.started, deployment_group.workflow_step.awaiting_approval, deployment_group.workflow_step.completed, deployment_group.workflow_step.failed, deployment_group.workflow_step.skipped 
