---
title: "List clock punches"
method: GET
path: "/time-entries"
tags: ["Time entries"]
---

# List clock punches

`GET /time-entries`

## Request

- Base URL: `https://api.groundflag.com/api/v1/public`
- URL: `https://api.groundflag.com/api/v1/public/time-entries`
- Auth: HTTP bearer

## Query parameters

- `user_id` integer
- `from` string, date
- `to` string, date
- `page` integer
- `per_page` integer

## Response `200`

OK

- object
  - `success` boolean
  - `message` string, nullable
  - `data` object
    - `items` TimeEntry[]
      - `id` string
      - `user_id` integer
      - `user_name` string, nullable
      - `user_email` string, nullable
      - `status` 'checked_in' | 'on_break' | 'checked_out'
      - `check_in_at` string, date-time, nullable
      - `check_out_at` string, date-time, nullable
      - `check_in_address` string, nullable
      - `check_out_address` string, nullable
      - `break_minutes` integer
      - `total_minutes` integer, nullable
      - `review_status` string, nullable
      - `created_at` string, date-time, nullable
      - `updated_at` string, date-time, nullable
    - `meta` PageMeta
      - `current_page` integer
      - `last_page` integer
      - `per_page` integer
      - `total` integer

## Other responses

- `401`: Missing, invalid, revoked or expired token
- `403`: The token lacks the required scope
- `429`: Rate limit reached; retry after the Retry-After header

---

[API](https://skmtc.dev/groundflag/apis/groundflag-public-api.md) · [All operations](https://skmtc.dev/groundflag/apis/groundflag-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/groundflag/apis/groundflag-public-api/revisions/65081b6e09ef?raw)
