Accounts
Create an account with a broker credential
Creates an account and stores its broker credential as an encrypted WorkOS Vault object. Only organization admins can create accounts. Paper credentials are allowed for admins; live credentials additionally require the Trading Live entitlement. The organization’s billing tier caps the number of broker connections; the request is rejected once that limit is reached. The response returns the created account id and broker-credential id.
POST
Create an account with a broker credential
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Broker-specific credential payload. Lightspeed and Alpaca credentials are currently supported.
Create an account with a broker credential