Create an investor-scoped API key
Mints a new API key bound to a single investor. The returned key can
only act on that investor’s resources (orders, positions, wallets,
funding, compliance). The secret_key is returned once in this
response and is never retrievable again — store it securely.
Must be called with tenant-wide credentials; an investor-scoped key cannot mint further keys (returns 403). Requires the tenant to be verified and operational.
Authorizations
HTTP Basic Authentication using the API Key as username and API Secret as password.
Path Parameters
The prefixed public id of the investor (e.g. inv_…).
Body
Response
API key created. secret_key is shown only here.
An investor-scoped API key (without the secret).
"apk_2ahq810t9rgmwgncgcawcm5400"
"api_key"
Unix timestamp (seconds).
Prefixed investor id the key is scoped to.
"inv_2ahq810t9rgmwgncgcawcm5400"
TEST, PRODUCTION active, revoked, expired Returned only once, at creation. Store it securely.