Skip to contentSkip to navigation

Update Webhook

Update an existing webhook's URL, events, or active status.

PATCH /api/v1/webhooks/{webhook_id}

Path Parameters

webhook_id string path required

The unique identifier of the webhook.

Request Body

All fields are optional.

url string body

New endpoint URL.

events array body

Updated list of event types to subscribe to, or ["*"] for all.

replyCategories array body

Only deliver reply.categorized events in these categories: interested, not_interested, out_of_office, bounce, unsubscribe, uncategorized. Empty or omitted means all.

isActive boolean body

Enable or disable the webhook. Setting true also resumes a paused webhook and resets its failure count (same as Resume Webhook).

Errors

StatusDescription
400The new URL is not http or https, has a user name or password, or points to a private or internal address
404Webhook not found
422Invalid event types provided

Rate Limit

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns (Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.

Was this page helpful?