Skip to main content
POST
Create a webhook

Authorizations

Authorization
string
header
required

Raw database-backed API key.

Body

application/json
url
string<uri>
required
event
enum<string>
required
Available options:
trader_new_trade,
close_to_bond
filters
object

For close_to_bond, min_price is the inclusive high threshold and max_price is the inclusive low threshold. At least one is required; when both are set min_price must exceed max_price (OR zones). Prices 0 and 1 are skipped. trigger_mode defaults to every_trade; crossing fires once per subscription and position until a reset or the opposite threshold. In crossing mode, reset_distance defaults to 0.10 absolute price units; high rearms at or below min_price minus reset_distance, low at or above max_price plus reset_distance. Each reset boundary must be strictly between 0 and 1. The first qualifying trade fires immediately. See the Webhooks overview for examples, ordering, state persistence and expiration behavior. position_ids, outcomes and position_outcome_indices apply only to close_to_bond; wallet_addresses, min_usd_value and trade_types apply only to trader_new_trade. Arrays use OR within a filter and AND between filters.

description
string | null
secret
string | null

Response

Success

success
enum<boolean>
required
Available options:
true
message
string | null
required
data
object
required
info
object
required