v1

latestOpenAPI 3.1.1LicenseRef-Proprietary2026-07-1310179223.1 KB
Timecards

Get User Timecards

List timecards for a single user. Defaults to the last two weeks when no date range is provided.

get/users/{user_id}/timecards

Path parameters

user_idnumber required
Example:89

User ID

Query parameters

fromstring
Example:2020-10-01

Date from (2 weeks ago by default)

tostring
Example:2020-11-01

Date to

Response

OK

usernumber required

User ID

clockInstring

Clock-in time in user timezone

clockOutstring

Clock-out time in user timezone

breakTimenumber

Breaks duration in seconds

workTimenumber required

Working time in seconds

datestring

Format: Y-m-d

weekIdinteger

Week identifier (YYWW).

isLockedboolean
invalidobject nullable

Validation issues for the timecard, if any.

lockReasonsstring[]

Example response

[
  {
    "user": 69,
    "clockIn": "09:00",
    "clockOut": "18:00",
    "breakTime": 3600,
    "workTime": 28800,
    "history": [
      {
        "action": "clock-in",
        "previousTime": "08:00",
        "time": "09:00",
        "trigger": "manually"
      }
    ]
  }
]