POST to the endpoints you register.
Register an endpoint
Endpoints are managed in the partner dashboard athttps://dashboard.kairos.trade, under Webhooks. Kairos invites your team to it (onboarding). The owner, admin and developer roles can manage webhooks. There is no API for it.
For each endpoint you set:
- A URL. It must be
https, with no user or password in it, on port 443 or 1024 and up, and resolve to a public address. Redirects are not followed. - The events it receives. An endpoint only gets the types you pick.
- A description, optional.
whsec_…) once, when you create it. Keep it on your server. Rotate replaces it at once: the old secret stops working. You can have up to 10 endpoints.
From the dashboard you can also send a test event, see each delivery with its HTTP status, and retry a failed one.
What Kairos sends
Every delivery is aPOST with a JSON body:
Headers:
Bodies are at most 256 KiB.
Verify the signature
v1 is the HMAC-SHA256, in hex, of <t>.<raw body>, keyed with your endpoint’s whole secret, whsec_ included. Compute it over the raw bytes you received, before parsing the JSON. Each attempt is signed again with a new t.
t for you. Refusing old timestamps, as above, stops a captured request from being replayed later.
Answer and retries
Answer with any2xx within 5 seconds. Anything else, a redirect, or a timeout is a failed attempt. Kairos tries each delivery up to 8 times, waiting about 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours between tries (with some jitter): about 45 hours in all. Test events are sent once.
- Delivery is at least once. Deduplicate on
id. - Order is not guaranteed. Events for one order can arrive in any order across types. Each order body carries
statusandupdatedAt: apply the latest. - Events can arrive late. An event that couldn’t be sent at once is still delivered later.
Event types
Bodies
Amounts ending inCents are whole US cents. Prices ending in Bps are basis points of $1: 5200 is a price of 0.52. Sizes are shares, as decimal strings. Times are RFC 3339 in UTC.
Orders (order.*)
idis the Kairos order id: theorderIdfrom the order result and the orders read.walletis the address that holds the position. On Polymarket that is the wallet’s trading wallet, not the signing address.statusisopen,partially_filled,filled,cancelledorrejected.rejectReasonis added onrejected:insufficient_balance,market_closed,price_out_of_bounds,tick_size,venue_rejected,rate_limited,geo_blockedorother.typeislimitormarket.avgFillPriceBpsisnulluntil something fills.feeCentsis the fee recorded on the order.partnerFeeCentsis0: your share of each fill comes infee.accrued.categoryispolitics,sports,crypto,economics,cultureorother.
Fills (trade.executed)
id, orderId, wallet, venue, marketId, marketTitle, category, tokenId, side, priceBps, size, notionalCents, feeCents, isMaker, txHash (or null) and executedAt.
Other events
Amounts ending in
Raw are integers in the token’s smallest unit; decimals scales them.
