Skip to main content
PATCH
Update a webhook subscription
API key required. Send X-API-Key with this request. See REST authentication.
Open the generated operation schema for machine-readable request and response details.

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at https://0xarchive.io/dashboard

Path Parameters

id
string<uuid>
required

Subscription identifier.

Example:

"3c1f0a52-8d6b-4f0e-9b1a-6f2c4d8e9a10"

Body

application/json

Edit a rule in place. Send either field or both; a field you leave out is left alone. Changing the configuration never requires deleting and recreating the rule.

filters
object

What a subscription matches on. Every key is checked against the event type's catalog declaration, so an unknown key, an undeclared parameter or a condition on an undeclared metric is refused rather than ignored. The stored config is the normalised form: venues and addresses lowercased, declared parameters filled in at their defaults, and operators written in their canonical spelling.

enabled
boolean

Your own on and off switch for the rule.

Example:

true

Response

The updated subscription

API response containing one webhook subscription.

success
boolean
Example:

true

data
object

A rule: one event type, one configuration, delivered to one endpoint.

Last modified on September 20, 2026