Skip to main content
PATCH
Update a webhook endpoint
Partially updates a webhook endpoint. Only the fields you include in the request body are changed; omitted fields are preserved. You can update the url, description, enabled_events, status (ACTIVE or DISABLED), and metadata. To rotate the signing secret, use the rotate secret endpoint instead. Setting status to DISABLED immediately fails queued or in-flight deliveries for the endpoint with error_code: "endpoint_disabled". Set it back to ACTIVE to receive future matching events.
For usage patterns and examples, see the Webhooks guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Endpoint ID

Body

application/json

Fields to update

description
string

Updated description

Example:

"Updated webhook receiver"

enabled_events
string[]

Replace the event type subscription list

Example:
metadata
any

Replace metadata

status
string

Set to ACTIVE or DISABLED

Example:

"DISABLED"

url
string

New HTTPS URL for deliveries

Example:

"https://new-url.example.com/webhooks"

Response

Updated endpoint

circuit_broken_until
string

When set and in the future, the circuit breaker has paused deliveries to this endpoint until this time (sustained delivery failures)

Example:

"2026-01-15T10:40:00Z"

created_at
string<date-time>

When the endpoint was created

Example:

"2026-01-15T10:30:00Z"

description
string

Human-readable label

Example:

"Production webhook receiver"

enabled_events
string[]

Subscribed event types

Example:
id
string<uuid>

Endpoint ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

metadata
any

Arbitrary metadata

rate_limited_until
string

When set and in the future, 429 rate-limit backoff has paused deliveries to this endpoint until this time

Example:

"2026-01-15T10:35:00Z"

secret
string

Signing secret (only returned on create and rotate — store it immediately)

Example:

"whsec_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"

status
string

Lifecycle status: ACTIVE, DISABLED, or ARCHIVED

Example:

"ACTIVE"

updated_at
string<date-time>

When the endpoint was last modified

Example:

"2026-01-15T10:30:00Z"

url
string

Destination URL for deliveries

Example:

"https://example.com/webhooks"