Skip to main content
operationId: listFirmAccounts Returns trading accounts in your active firm. Omit user_id to page through every firm account. Pass user_id to recover only that member’s accounts. Use this endpoint to rebuild your local account mapping if you did not persist IDs returned during provisioning. The list includes copy-trading shadow accounts. Check is_shadow and skip rows where it is true when adopting accounts into your system.

Authentication

Use a firm API key or staff JWT with firm scope and the accounts:read permission. Firm scope is resolved from X-Firm-ID, which the API gateway injects for firm API keys, or from the optional firm_id query parameter for multi-firm JWT sessions. When user_id is set, that user must have a relationship with the active firm. The endpoint never returns accounts from another firm.

Query parameters

Examples

List every account in the firm:
Look up the account for a purchase id:
List accounts for one user:

Response — 200 OK

Key fields: Account objects may contain additional account columns. For live balances and ops projections, use Firm Backoffice Reads. When next_cursor is present, send it unchanged in the next request. See Pagination.

Errors