---
title: "Retrieve a batch of clients"
method: GET
path: "/api/business/{businessId}/client-batch"
tags: ["Client"]
---

# Retrieve a batch of clients

`GET /api/business/{businessId}/client-batch`

Get a batch of clients for the specified client ids

## Path parameters

- `businessId` string, required

## Query parameters

- `client_id` string[], required

## Response `200`

Batch of clients retrieved

- DataPagedModelClientResponse
  - `_embedded` object
    - `clients` ClientResponse[]
      - `linkedClientMobile` string
      - `landLine` string
      - `email` string
      - `address` AddressData
        - `streetAddress1` string
        - `streetAddress2` string
        - `city` string
        - `state` string
        - `postalCode` string
        - `country` string
      - `birthDate` string, date
      - `clientSince` string, date-time
      - `gender` 'MALE' | 'FEMALE' | 'NON_BINARY' | 'NOT_SPECIFIED' | 'PREFER_NOT_TO_SAY' | 'UNKNOWN'
      - `notes` string
      - `smsMarketingConsent` boolean
      - `emailMarketingConsent` boolean
      - `smsReminderConsent` boolean
      - `emailReminderConsent` boolean
      - `preferredStaffId` string
      - `externalId` string
      - `creatingBranchId` string
      - `archived` boolean
      - `banned` boolean
      - `clientCategoryIds` string[] — The list of client category IDs associated with this client
      - `clientId` string
      - `version` integer
      - `firstName` string, required
      - `lastName` string, required
      - `mobile` string
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
      - `photoUrl` string
      - `creditAccount` CreditAccount
        - `outstandingBalance` number
        - `creditDays` integer
        - `creditLimit` number
      - `loyaltyCard` LoyaltyCard
        - `serial` string
        - `points` integer
      - `mergedToClientId` string
      - `linkedClientId` string — id of the linked (parent) client this client is linked to, if any
      - `deleted` boolean
      - `firstVisit` string, date
      - `lastVisit` string, date
      - `lastVisitedBranchId` string
  - `page` PageMetadata
    - `size` integer
    - `totalElements` integer
    - `totalPages` integer
    - `number` integer

## Other responses

- `400` — Bad Request
- `404` — Business with the specified id doesn't exist
- `429` — Request rate limit exceeded. Current limit set to 100 rps.
- `500` — Internal Server Error

---

[API](https://skmtc.net/phorest/apis/third-party-api.md) · [All operations](https://skmtc.net/phorest/apis/third-party-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phorest/third-party-api/versions/2218bc90d39c/schema)
