Update a webhook
Updates a webhook. Only the fields you send are changed. Sending auth_password or auth_token replaces the stored value; omitting them leaves it alone. The signing secret is not returned — rotate it if you have lost it.
Path parameters
Numeric webhook ID.
Request body
Destination URL. Must be a public http(s) address.
Label for the webhook.
HTTP method used to deliver.
Deliver only for failed tests.
Which grid to report on: ALL, VIRTUAL or REAL.
Glob matched against the test name, falling back to the build identifier.
How to authenticate against your endpoint.
Username for BASIC auth. Write-only.
Password for BASIC auth. Write-only.
Token for BEARER auth. Write-only.
Custom request headers, each an object with key and value. Replaces the existing set.
Custom query parameters, each an object with key and value. Replaces the existing set.
Custom JSON body template. Send an empty string to go back to the default payload.
Response
Update a webhook
Unique numeric webhook ID.
Label for the webhook, shown on the dashboard.
Destination URL. May contain {{VARIABLES}}, which are substituted at delivery time.
HTTP method used to deliver: POST, PUT or PATCH.
When true, only failed tests trigger a delivery.
Which grid the test ran on: ALL, VIRTUAL (VM) or REAL (physical device).
Glob matched against the test name, falling back to the build identifier. Empty means every test.
How the request authenticates against your endpoint: NONE, BASIC or BEARER. The credentials themselves are never returned.
Custom request headers, each { "key": ..., "value": ... }. Values support {{VARIABLES}}.
Custom query parameters appended to the URL, each { "key": ..., "value": ... }.
Custom JSON body template. Empty means the default TestingBot payload is sent.
When the webhook was created.
When the webhook was last changed.
Secret used to verify the X-TestingBot-Signature header. Only present when the webhook is created or its secret is rotated; store it then, because it is never returned again.