# Retrieve a Client

`GET /lokta-lms/api/v1/clients/{clientId}`

Example Requests:

clients/1


clients/1?template=true


clients/1?fields=id,displayName,officeName

## Parameters
- `clientId` (path, integer, required): clientId
- `staffInSelectedOfficeOnly` (query, boolean): staffInSelectedOfficeOnly

## Responses
- `200`: OK

## Response fields
- `accountNo` (string)
- `activationDate` (string)
- `active` (boolean)
- `displayName` (string)
- `emailAddress` (string)
- `externalId` (string)
- `firstname` (string)
- `groups` (array of GetClientsGroups)
- `id` (integer)
- `lastname` (string)
- `officeId` (integer)
- `officeName` (string)
- `savingsProductId` (integer)
- `savingsProductName` (string)
- `status` (GetClientsClientIdStatus)
- `timeline` (GetClientsTimeline)

## Example request (cURL)
```bash
curl -X GET \
  'http://localhost:8080/lokta-lms/api/v1/clients/{clientId}' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
{
  "accountNo": "000000027",
  "activationDate": "19 August 2026",
  "active": true,
  "displayName": "savings test"
}
```

Interactive: https://developer.lokta.ai/reference.html#operation/retrieveOneClient
