Get Accounts

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.

Request Params

KeyDatatypeRequiredDescription
querystringOptional parameter to filter the results by the specified last name.
limitnumberOptional parameter to limit the maximum number of results returned by the API.

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"}]