Skip to main content
PUT
Update a Webhook

Authorizations

Authorization
string
header
required

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.

Path Parameters

org_name
string
required

Organization Name

id
integer
required

Webhook ID

Body

application/json

Webhook update request body

PUT/PATCH body for changing a webhook. Omitted fields are left as they are. Turning a webhook on clears what failed deliveries recorded about it.

all_products
boolean

Send every product's events. Given products without this, it is taken as false.

description
string
enabled
boolean
events
enum<string>[]
Available options:
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
products
string[]

The names of the products whose events to send, replacing the current list

url
string

Response

Webhook response

A webhook

data
Webhook · object

An organization webhook, without its signing secret

Example: