Guides

Guides

The reference tells you what every endpoint does. The guides tell you in which order to call them for a real task, with the checks and the failure cases that matter in production.

#All guides

Building a mobile or web app? The SDK pages cover the Octolit Embed SDK for iOS, Android and the web in the same depth.

#Which guide for which use case

You want to…Read
You have a client area and want a "Trade" button in itProvision users & accounts, then Single sign-on, then Embed the trader
Your mobile app should contain the traderSDK for iOS or Android, plus Single sign-on for the one-time token
You run the cashier and book the money yourselfMoney posting, then Webhooks for deposit.status and withdrawal.status
You need to know at once when a client deposits, trades or hits a margin callWebhooks
You trade from your own system (algo, bridge, liquidity)FIX connectivity, or the Trading API reference
Your clients already trade on MetaTraderMT4 / MT5 brokers, then Provision users & accounts (MT links)
Your platform is the identity provider and users sign in with youSingle sign-on, the "your signed JWT" way

#Conventions in the guides

API host
https://api.your-brand.com
Trader
https://live.your-brand.com
Partner API key
X-Api-Key header, read from OCTOLIT_PARTNER_KEY
Trading API key
X-API-Key header, read from OCTOLIT_API_KEY
  • Replace the two hosts with the ones your brand's API access panel shows. Every example reads the key from an environment variable; never put a key in source code.
  • cust_10042 is the example external_id - your own client id. The guides never use the CRM's numeric client id in a path.
  • Code samples come in cURL, Node.js, Python, PHP, C#, Java, Go, Swift and Kotlin. Pick one tab; the choice sticks across the site.
  • Every feature is a per-brand switch in the Octolit CRM. A guide names the switch it needs at the top, under "Before you start".
Need the key first?
The getting started page creates a key, calls GET /api/external/v1/me and explains scopes in five minutes.