Get All Accounts
GET {{baseUrl}}/v1/accounts
Retrieves all accounts found by the query'
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
query | string | Pass space-delimited tokens. The response will contain accounts that match with each of the tokens (logical AND). A match means the token is present in either the account’s associated account number, phone number, name, or e-mail address (logical OR). | |
created_after | string | Inclusive of timestamp. Example: 2019-10-12T07:20:50.52Z | |
created_before | string | Inclusive of timestamp. Example: 2019-10-12T07:20:50.52Z | |
status | string | See the AccountStatus model for values | |
sort | string | The chronological order of response based on the submission time. asc or desc. Defaults to desc. | |
entities | string | Comma-delimited entity names to include in the response |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"id":"20fbbb71-454f-4c69-a480-01d9e9c6f72f","account_number":"452906117","status":"ACTIVE","crypto_status":"INACTIVE","kyc_results":{"reject":{},"accept":{},"indeterminate":{},"summary":"pass"},"currency":"USD","last_equity":"0","created_at":"2024-03-22T15:47:57.572218Z","account_type":"trading","enabled_assets":["us_equity"]}]