Fired when a trader’s market-level PnL crosses a configured threshold
Documentation Index
Fetch the complete documentation index at: https://docs.struct.to/llms.txt
Use this file to discover all available pages before exploring further.
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}$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.
Market PnL webhook payload (Arc-optimized)
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 >= 1Webhook delivery acknowledged