Logo
Account Management API Documentation

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.

 

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



Curl
curl -X GET 'https://b749daa2-85c8-4e1e-8ccf-129deea832d5.mock.pstmn.io/v1/accounts?query=doe&limit=25?query=doe&limit=25'

ENDPOINTS