---
title: "List all attendances"
method: GET
path: "/hris/{connection_id}/attendance"
tags: ["hris", "attendance"]
---

# List all attendances

`GET /hris/{connection_id}/attendance`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/hris/{connection_id}/attendance`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `user_id` string
- `company_id` string
- `location_id` string
- `start_gte` string
- `end_lt` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- HrisAttendance[]
  - `id` string
  - `created_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `employee_user_id` string, required: (reference to HrisEmployee)
  - `start_at` string, date-time, required: clock-in (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `end_at` string, date-time, required: clock-out (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `timeshift_id` string: the scheduled hris_timeshift this attendance record fulfils
  - `location_id` string: (reference to HrisLocation)
  - `company_id` string: (reference to HrisCompany)
  - `group_id` string: department, team, etc. (reference to HrisGroup)
  - `timezone` string
  - `address` HrisAttendanceAddress
    - `address1` string
    - `address2` string
    - `city` string
    - `region` string
    - `region_code` string
    - `postal_code` string
    - `country` string
    - `country_code` string: ISO 2-digit country code
  - `hours` number: worked hours
  - `currency` string: pairs with hourly_rate and tip amounts
  - `status` 'OPEN' | 'CLOSED' | 'APPROVED'
  - `breaks` HrisAttendanceBreak[]
    - `id` string
    - `start_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `end_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
    - `is_paid` boolean
    - `duration_minutes` number
    - `name` string: break type label, e.g. "Lunch"
  - `declared_tips_amount` number: cash tips declared by the employee for this attendance record
  - `non_cash_tips_amount` number: card/non-cash tips attributed to this attendance record
  - `job_name` string
  - `hourly_rate` number
  - `approver_user_id` string: (reference to HrisEmployee)
  - `approved_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `metadata` HrisMetadata[]
    - `id` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
    - `slug` string
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
