# List clock moments

**Requires scope:** `attendance_registration`.

Endpoint: GET /api2/attendance-registration/{date}
Security: apiKey

## Path parameters:

  - `date` (string, required)
    Specifies the day to list the attendance registration for, in YYYY-MM-DD format

## Response 200 fields (application/json):

  - `attendanceRegistration` (array)
    Collection of attendance registrations

  - `attendanceRegistration.attendanceRegistrationId` (integer)
    Unique attendance registration id
    Example: 123

  - `attendanceRegistration.employeeId` (integer)
    Unique employee id
    Example: 12345

  - `attendanceRegistration.personnelNumber` (string)
    Personnel number
    Example: HV-FD-014

  - `attendanceRegistration.dateTime` (string)
    DateTime in ISO 8601 format
    Example: 2026-12-31T12:34:56+01:00

  - `attendanceRegistration.event` (string)
    Either "clocked in" or "clocked out"
    Enum: "clocked in", "clocked out"

  - `attendanceRegistration.serialNumber` (string | null)
    Serial number of the clock device that was used, or null for web/manual clock-ins.
    Example: POSFD01-9B7C2A

  - `attendanceRegistration.deviceName` (string | null)
    Name of the clock device that was used, or null for web/manual clock-ins.
    Example: POS-FRONTDESK-01

## Response 401 fields (application/json):

  - `title` (string, required)
    Short, human-readable summary of the error.
    Example: Unauthorized

  - `status` (integer, required)
    The HTTP status code.
    Example: 401

  - `message` (string, required)
    Human-readable explanation of this occurrence of the error.
    Example: Invalid Token

  - `detail` (string)
    Human-readable explanation of this occurrence. Not returned by all backend versions.
    Example: Invalid Token

  - `code` (integer)
    The HTTP status code (duplicate of `status`). Not returned by all backend versions.
    Example: 401

## Response 403 fields (application/json):

  - `title` (string, required)
    Short, human-readable summary of the error.
    Example: Unauthorized

  - `status` (integer, required)
    The HTTP status code.
    Example: 401

  - `message` (string, required)
    Human-readable explanation of this occurrence of the error.
    Example: Invalid Token

  - `detail` (string)
    Human-readable explanation of this occurrence. Not returned by all backend versions.
    Example: Invalid Token

  - `code` (integer)
    The HTTP status code (duplicate of `status`). Not returned by all backend versions.
    Example: 401

## Response 404 fields (application/json):

  - `title` (string, required)
    Short, human-readable summary of the error.
    Example: Unauthorized

  - `status` (integer, required)
    The HTTP status code.
    Example: 401

  - `message` (string, required)
    Human-readable explanation of this occurrence of the error.
    Example: Invalid Token

  - `detail` (string)
    Human-readable explanation of this occurrence. Not returned by all backend versions.
    Example: Invalid Token

  - `code` (integer)
    The HTTP status code (duplicate of `status`). Not returned by all backend versions.
    Example: 401

