cURL
curl --request GET \ --url https://api.tradearies.dev/v1/users/me/accounts \ --header 'Authorization: Bearer <token>' \ --header 'X-API-Key: <api-key>'
{ "accounts": [ { "id": 123, "fdid": "<string>", "apex_id": "<string>", "apex_account_id": "<string>", "sterling_account_id": "<string>", "status": "<string>", "apex_status": "<string>", "is_sim": true, "primary_user_id": 123, "account_number": "<string>", "type": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Retrieve all trading accounts for the currently authenticated user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User accounts retrieved successfully
The response is of type object.
object
Was this page helpful?