Skip to main content

Update webhook subscription

Patch URL/events/filters/retry policy or enabled status.

PATCH/api/webhook-subscriptions/{subscription_id}
Scope webhooks:writeUpdated September 27, 2026

This page documents the canonical HTTP contract. Switch to the CLI example when you want the operator workflow.

Omitted keys are unchanged. Null filters or metadata clear them; null retryPolicy resets to defaults. Empty PATCH returns the current subscription. Queued deliveries retain their URL and retry-policy snapshot. Attempts processed while paused terminate as failed; resuming does not revive those failed deliveries.

Path parameters

  • subscription_idrequired

    string

    Subscription ID.

Body parameters

  • url · optional

    string

    Replace endpoint URL; absolute http(s), without credentials, with production HTTPS/public-host checks.

  • events · optional

    array<string>

    Replace with supported events/families; values are trimmed, lowercased, and deduplicated.

  • enabled · optional

    boolean

    Set true (active) or false (paused); null is coerced to false.

  • filters · optional

    object

    Replace filters; null clears to {}. Supports exact nested matches and conditions.

  • metadata · optional

    object

    Replace opaque metadata; null clears to {}.

  • retryPolicy · optional

    object

    Replace retry policy, not merge it. Omitted keys reset to defaults; values are clamped to create-endpoint bounds.

Errors

StatusMeaning
400Invalid patch payload.
401Invalid API key or missing auth.
403Missing webhooks:write scope.
404Subscription not found.
422Malformed body field types.

Docs