Create an API key
An API key is a bearer token. It starts with idx_test_ in the sandbox and idx_live_ in production, followed by
40 random letters and digits. IDEALX stores only a SHA-256 hash of it: the full key is shown once, when you make
it.
- Sign in to the IDEALX app (app.staging.idealx.com for the sandbox).
- Open Profile → Developer and choose API keys.
- Name the key after the integration that will use it (2 to 60 characters, for example Budget sync).
- Choose its scopes:
readto read,tradeto place, cancel and approve orders,moveto move money and positions between your own portfolios and convert currencies. - Optionally set an expiry in days. Make the key and copy it.
The key acts as you: it sees the accounts you have a role on and can do only what you could do in the app, within its scopes.
- Sign in to Console (console.staging.idealx.com for the sandbox) as a firm admin.
- Open Team and scroll to API and webhooks. Your firm id (
frm_…) is shown there: firm endpoints take it in the path. - Name the key and choose its scopes:
read,trade,moveand, for proposals and messages,advise. - Optionally set an expiry in days. Make the key and copy it.
A firm key acts as the admin who made it, for that firm only. On a client’s account it works within the mandate the client gave your firm on each portfolio, and only while the engagement lasts. See Mandates and engagements.
Use it
Section titled “Use it”Send the key in the Authorization header of every request:
GET /v1/accounts HTTP/1.1Host: api.staging.idealx.comAuthorization: Bearer idx_test_4fQm…A missing, revoked, expired or other-environment key answers 401 unauthenticated.
Keep it safe
Section titled “Keep it safe”- Keep keys on your server, in a secrets manager or environment variable. Never ship one in a browser or mobile app, never commit one to a repository.
- Give each integration its own key with the fewest scopes it needs, so you can revoke one without stopping the others.
- Set an expiry for keys used by short projects or contractors.
- Each person can hold up to 20 active keys. Revoke one before making more.
What a key can never do
Section titled “What a key can never do”Keys cannot manage keys or webhooks, sign in, or complete a step-up code. Money leaving an account (bank
withdrawals and digital asset sends), adding recipients, identity and profile changes, opening accounts, and team or
firm settings always need a person in the app. Those endpoints are not in the API references, and a key calling them
gets 403 forbidden with details.audience: "app".