Update a webhook URL

Changes the URL and/or event list on one webhook registration for the organization associated with the authenticated API key. At least one of url or enabled_events is required. The signing secret stays the same and is not returned. Unknown ids and other organizations' registrations return 404. Requires organizations:webhooks:update.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[a-f\d]{24}$

Webhook registration id from create or list.

Body Params

Fields to change on a webhook registration. At least one of url or enabled_events is required. The signing secret is not changed.

uri
length between 1 and 2048
^https://

Public HTTPS URL that receives event POSTs. Localhost, private, and link-local addresses are rejected. Must be unique per organization. Omit to leave the URL unchanged.

enabled_events
array of strings
length ≥ 1

Event types to send to this URL. Replaces the current list. At least one when sent. Omit to leave the list unchanged.

enabled_events
Allowed:
Headers
uuid

Optional client-supplied unique ID for one request. The server generates a UUID v4 if omitted and always echoes the value in the response.

uuid

Optional ID that flows across service boundaries for distributed tracing. The server generates a UUID v4 if omitted and always echoes the value in the response.

string
length between 1 and 255
^[a-zA-Z0-9]+$

Optional client-supplied key that makes retries safe for POST/PATCH/PUT. Scoped per actor; cached for 24 hours. Replays return the cached response with X-Idempotency-Replayed: true. Same key with a different body returns 409. In-flight duplicates return 429 with Retry-After. See the Idempotency section in the API overview.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json