---
title: "Get Booking User for Attendance"
method: GET
path: "/locations/{location_id}/attendance/clients/{client_id}"
tags: ["Booking Users"]
---

# Get Booking User for Attendance

`GET /locations/{location_id}/attendance/clients/{client_id}`

## Request

- Base URL: `https://api.alteg.io/api/v2`
- URL: `https://api.alteg.io/api/v2/locations/{location_id}/attendance/clients/{client_id}`
- Auth: HTTP bearer

Retrieve one Booking User profile used by the attendance workflow as a
JSON:API resource object.

The `client_id` path parameter and `client` resource type are literal
legacy wire names. Optional related data is returned only when requested
through `include` and may require additional Business User permissions or
enabled Location features.

## Path parameters

- `location_id` integer, required
- `client_id` integer, required

## Query parameters

- `include` string[]

## Headers

- `Accept` string, required
- `Authorization` string, required

## Response `200`

Booking User retrieved successfully

- object
  - `data` BookingUserResource, required
    - `type` 'client', required: Literal legacy JSON:API resource type for a Booking User
    - `id` string, required: Booking User profile ID
    - `attributes` object, required
      - `name` string, required: Booking User first name
      - `surname` string, required: Booking User surname, subject to Business User permissions
      - `patronymic` string, required: Booking User patronymic, subject to Business User permissions
      - `phone` string, required: Booking User phone number, subject to Business User permissions
      - `additional_phone` string, required: Additional phone number, or an empty string
      - `email` string, required: Email address, or an empty string
      - `comment` string, required: Booking User card comment, subject to Business User permissions
      - `client_tips` boolean, required: Whether the Booking User can leave tips
      - `birthday` string, nullable, required: Birthday without a timezone, or `null`
      - `card_number` string, required: Booking User card number, or an empty string
      - `gender` integer, required: Literal gender wire value
      - `discount` number, required: Deprecated discount percentage; use `discount_percent`
      - `discount_percent` number, required: Booking User discount percentage
      - `national_id` string, nullable, required: National ID of the Booking User (CPF for Brazil, IIN for Kazakhstan), subject to Business User permissions; `null` when not set or hidden
    - `relationships` object: Present when related data is requested through `include`
      - `labels` ToManyRelationship
        - `data` ResourceIdentifier[], required
          - `type` string, required
          - `id` string, required
      - `first_successful_visit` ToOneRelationship
        - `data` ResourceIdentifier, required
          - `type` string, required
          - `id` string, required
      - `loyalty_cards` ToManyRelationship
        - `data` ResourceIdentifier[], required
          - `type` string, required
          - `id` string, required
      - `loyalty_certificates` ToManyRelationship
        - `data` ResourceIdentifier[], required
          - `type` string, required
          - `id` string, required
      - `loyalty_abonements` ToManyRelationship
        - `data` ResourceIdentifier[], required
          - `type` string, required
          - `id` string, required
      - `custom_field_values` ToManyRelationship
        - `data` ResourceIdentifier[], required
          - `type` string, required
          - `id` string, required
      - `agreements` ToOneRelationship
        - `data` ResourceIdentifier, required
          - `type` string, required
          - `id` string, required
  - `included` IncludedResource[]: Resources requested through `include`, when available
    - `type` string, required
    - `id` string, required
    - `attributes` object, required
    - `relationships` object
  - `meta` unknown[], required
    - unknown

## Other responses

- `401`: Unauthorized
- `403`: Forbidden - No permission to read this Booking User
- `404`: Booking User or Location not found
- `422`: Invalid path parameter or unavailable include

## Changes

- **2026-09-30** `0f9938a8b921`: 1 info
  - added the required property `data/attributes/national_id` to the response with the `200` status

[Operation history](https://skmtc.dev/alteg/apis/business-management/changes/locations/:location_id/attendance/clients/:client_id/get.md)

---

[API](https://skmtc.dev/alteg/apis/business-management.md) - [All operations](https://skmtc.dev/alteg/apis/business-management/llms.txt) - [OpenAPI document](https://skmtc.dev/alteg/apis/business-management/revisions/a2d63320b944?raw)
