Generate a trader API key for third-party access
Creates a new API key for the authenticated trader, for use with partner
integrations (e.g. Tradesyncer) via POST /trade/partner/session.
The key is shown once, in this response only. It is stored hashed (sha256) and cannot be recovered afterwards — key listings show only the prefix and last 4 characters. If a key is lost, revoke it and create a new one. Requires a normal Hyperprop session — partner sessions cannot mint keys.
Body
Display label, e.g. "tradesyncer". Shown in key listings only.
Response
Key created
The full API key — shown exactly once, in this response. It is stored hashed and can never be retrieved again; store it securely now. If it is lost, revoke this key and create a new one.
Key row id (use for revocation).
First 12 characters of the key, safe to display for identification.