Documentation Index
Fetch the complete documentation index at: https://4cx.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What you are doing
This is the main place call: you send one or more orders to/session/v2/place. The sample body shows the usual case—resting a new offer on the board.
When orderType is post
- Use
postwhen you want yourriskto sit on the book until another user matches you (or you cancel). - If you want to immediately take existing liquidity (coins flow), use Take with coins instead—same URL, different
orderType.
Request body (field by field)
| Field | Meaning |
|---|---|
orders | Array; most integrations send one order object while testing. |
orderType | post = add resting liquidity (not an IOC sweep). |
gameID | The game/market id—must exist in the system. |
type | moneyline, spread, total, etc. |
odds | American odds from your perspective (e.g. -110). |
risk | Amount you risk on this offer. With X-API-Version: public the API expects this field name. |
side | Which side you back—valid values depend on the game; team_a is only a placeholder. |
Example response
createdSessions— one entry per submitted order.matched— instant fills (usually empty for a purepost).unmatched— what is still live: useorderIDwith Cancel order / Look up single order;offered/remainingshow how much risk is still working.
side with values from your environment before expecting a real fill.
Request
POST
https://api.4cx.io/session/v2/place POSTAuthorization, X-API-Version: public, Content-Type: application/json
