Skip to main content
POST
Create 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

Body

application/json

A new rule. The configuration is validated against the event type's catalog declaration before anything is stored.

endpoint_id
string<uuid>
required

Endpoint that will receive this rule's deliveries.

event_type
string
required

Event type to subscribe to, from the catalog.

Example:

"market.liquidation"

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.

Response

The new 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