This is a supported, server-to-server integration path. It is separate from
the organization API key flow, which is for prop firms
operating their own accounts from their own backend.
How it differs from an organization key
If you are a prop firm provisioning and managing accounts, you want the
Platform API and an org key — start at the Quickstart. If you
are building a tool a trader connects their own account to, read on.
Prerequisites
Partner applications are issued credentials by Hyperprop — anapp_id and an
app_secret. These are not self-service: contact Hyperprop to have your
application reviewed and registered.
The flow
1
The trader generates a key
In the Hyperprop app, the trader creates an API key for your integration.
The key looks like
hpk_... and is theirs — they can list or revoke it at
any time. Keys remain retrievable, so a trader can come back and copy the
same key again rather than rotating it every time they reconnect.2
The trader gives you the key and picks a firm
Your app collects the key and the firm they want to connect. A trader may
hold accounts at several firms; each connection is scoped to exactly one.
3
You exchange all of it for a session token
Call
POST /trade/partner/session with your app credentials, the trader’s
key, and the firm. You get back a short-lived bearer token.4
You use that token as a normal Trade API bearer token
Orders, positions, brackets, WebSocket streaming — the whole Trade API,
limited to the accounts the session returned.
Exchanging credentials for a session
firm accepts an organization id, slug, or name.
Firm scoping is absolute
The session token acknowledges only the trader’s accounts at the firm you named. Accounts the same trader holds at other firms are invisible to that session — for reads, for writes, and for WebSocket events alike. They are not filtered out of the UI; they are not addressable. To act at a second firm, run the exchange again with the same trader key and a differentfirm, and keep the two tokens separate.
Token lifetime
Sessions are short-lived — treatexpires_in (seconds) as authoritative
rather than hardcoding a number. There is no refresh token: when a session
expires, repeat the exchange with the stored trader key. Store the trader’s
hpk_... key, not the session token.
Revocation
A trader can revoke their key at any time from the Hyperprop app.- New session exchanges with a revoked key fail immediately.
- Sessions already minted from it keep working until the token expires.
401 on the exchange as
“disconnected, ask the trader to reconnect”, not as a retryable error.
Partner sessions cannot mint keys. Key creation requires the trader’s own
Hyperprop session, which keeps your integration out of the business of
issuing credentials on a trader’s behalf.
Rate limits and errors
The Trade API applies per-account rate limits; a partner session is subject to the same buckets as the trader. Errors use the standard envelope with a machine-readablecode — switch on code, never on message text. The full
list is in the Trade API reference tab.
Browser access
Run the session exchange from your backend. Trade API browser calls are restricted to approved origins — that restriction applies to browsers only and never to server-to-server calls, which send noOrigin header. If your
product needs a browser to talk to the Trade API directly, contact us to get
your origin approved; it is a configuration change on our side.