Get clients

GET /api/v2/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

  • Filter clients by first name.

  • Surname string

    Filter clients by surname.

  • NINumber string

    Filter clients by National Insurance Number.

  • Filter clients by client reference.

  • Postcode string

    Filter clients by postcode.

  • Filter clients by tags. This should be the GUID of the client or system supplied tag you wish to search by. If you wish to search by multiple tags, the list of GUIDS MUST be separated by a comma.

Responses

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