Get clients
This endpoint retrieves a list of clients that the user has permission to access, which can be filtered by various parameters. The response data will be an array of objects with each object being the data for one client.
Query parameters
-
FirstName string
Filter clients by first name.
-
Surname string
Filter clients by surname.
-
NINumber string
Filter clients by National Insurance Number.
-
ClientReference string
Filter clients by client reference.
-
Postcode string
Filter clients by postcode.
GET
/api/v2/clients
curl \
-X GET https://api.fincalc.co.uk/api/v2/clients \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"data": [
{
"ClientGUID": "3F0B1C88-6D80-4C17-BB3E-1D68E6D26405",
"FirstName": "John",
"Surname": "Smith",
"Gender": 1,
"DateOfBirth": "1990-05-04",
"AddressPostCode": "SW1A 1AA",
"Reference": "API Client",
"AdviserID": 42,
"BackOfficeID": "3F0B1C88-6D80-4C17-BB3E-1D68E6D26405",
"FormattedValues": {
"Gender": "Male",
"AdviserID": "Jonathan Thomas",
"DateOfBirth": "04/05/1990"
}
}
]
}