Close to bond callback
Fired when a trade occurs at a near-certain-outcome price. The alert matches on the traded position’s own price — so you receive the trade for the exact position_id that hit the threshold. At least one of min_price or max_price is required. Use min_price (e.g. 0.95) to trigger when the traded outcome is near-certain (price ≥ threshold); use max_price (e.g. 0.05) for the near-zero side (price ≤ threshold). Optional filters: position_outcome_indices — restrict by outcome index (0 = Yes/Up, 1 = No); condition_ids — restrict to specific markets; position_ids — restrict to specific outcome tokens; outcomes — restrict by outcome name (e.g. "Yes", "No"); event_slugs — restrict to specific events. Scope by market taxonomy with tags (matches a market’s tags or category) and series_slugs (matches its parent series).
Headers
UUID of the webhook subscription that fired
UUID of this specific delivery attempt (matches envelope id field)
Event name string (e.g. trader_first_trade)
Delivery attempt number (1 = first attempt)
x >= 1HMAC-SHA256 of the raw request body: sha256=<hex>. Present only when the webhook has a secret configured. Verify with: HMAC-SHA256(secret, raw_body_bytes) == hex_part.
^sha256=[0-9a-f]{64}$Body
Webhook delivery envelope. The data field contains the event-specific payload.
Outer envelope for every webhook HTTP POST delivery. The data field contains the event-specific payload. Delivery headers sent with every POST: X-Webhook-ID (subscription UUID), X-Delivery-ID (this attempt's UUID), X-Event-Type (event name string, e.g. trader_first_trade), X-Attempt (attempt number, 1-indexed). When the webhook has a secret configured, X-Webhook-Signature: sha256=<hmac-hex> is also included — compute HMAC-SHA256 over the raw request body using your secret to verify.
UUID of this specific delivery attempt (matches X-Delivery-ID header)
Event name (e.g. trader_first_trade). On test deliveries the suffix _test is appended.
Close-to-bond webhook payload
Unix timestamp in milliseconds when this delivery was created
UUID of the webhook subscription that fired (matches X-Webhook-ID header)
Delivery attempt number. 1 = first attempt; increments on each retry.
x >= 1Response
Webhook delivery acknowledged