GET {{url}}/v1/accounts?query=doe&limit=25
Retrieves all account records and all their details. It has optional filters that allows the account list to be filtered by last name and limit the number of results.
Body
PARAM
Key | Datatype | Required | Description |
query
|
string | Optional parameter to filter the results by the specified last name. | |
limit
|
number | Optional parameter to limit the maximum number of results returned by the API. |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
[
{
"accountID": "123",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com"
},
{
"accountID": "456",
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@example.com"
}
] |
ENDPOINTS