Time entries
Get Rightwork timecards and breaks for a range of clock-in business dates.
Request
GET /api/external/v1/time-entries
Required scope: time_entries:read. Set up your key and base URL before running this example.
curl --fail-with-body \
-H "Authorization: Bearer $RIGHTWORK_API_KEY" \
-H "Accept: application/json" \
"$RIGHTWORK_BASE_URL/api/external/v1/time-entries?date_from=2026-09-01&date_to=2026-10-01"Parameters
| Parameter | Required | How to use it |
|---|---|---|
page_size | No | Records per page (1–500, default 100). |
cursor | No | Pass the previous page’s meta.next_cursor with the same filters and page size. |
employee_id | No | Employee UUID. Choose this or payroll_external_id. |
payroll_external_id | No | Exact payroll ID as a string, including leading zeros. |
payroll_source | No | Use payroll_source_ukg or payroll_source_paylocity to narrow a payroll ID lookup. |
location_id | No | UUID of a location your key can access. |
date_from | Yes | First local business date to include (YYYY-MM-DD). |
date_to | Yes | First date to exclude (YYYY-MM-DD). Request up to 31 days. |
Example response
{
"data": [
{
"id": "00000000-0000-4000-8000-000000000501",
"employee_id": "00000000-0000-4000-8000-000000000123",
"payroll_external_id": "00123",
"payroll_source": "payroll_source_ukg",
"mapping_status": "mapped",
"location_id": "00000000-0000-4000-8000-000000000010",
"role_id": "00000000-0000-4000-8000-000000000020",
"business_date": "2026-09-17",
"timezone": "America/Los_Angeles",
"status": "manual_approved",
"clocked_in_at": "2026-09-17T09:00:00-07:00",
"clocked_out_at": "2026-09-17T17:00:00-07:00",
"elapsed_minutes": 480,
"minutes_less_unpaid_breaks": 450,
"breaks": [
{
"id": "00000000-0000-4000-8000-000000000601",
"starts_at": "2026-09-17T12:00:00-07:00",
"ends_at": "2026-09-17T12:30:00-07:00",
"is_paid": false
}
]
}
],
"meta": {
"request_id": "00000000-0000-4000-8000-000000000901",
"snapshot_id": "00000000-0000-4000-8000-000000000902",
"as_of": "2026-09-18T18:00:00+00:00",
"scope_revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"next_cursor": null,
"complete": true
}
}In this example, 480 elapsed minutes minus a 30-minute unpaid break leaves 450 minutes. Paid breaks count toward minutes_less_unpaid_breaks. An unfinished punch or break can leave the end time or affected duration null.
Results include pending and denied timecards. Check status before importing approved work. For daily payable hours and pay, including POS imports, use the actual labor report with reports_actual_labor:read and one approved location.
Response fields
| Field | Type | Format / values |
|---|---|---|
id | string | uuid |
employee_id | string | uuid |
payroll_external_id | string or null | |
payroll_source | string or null | |
mapping_status | string | mapped, missing, duplicate |
location_id | string | uuid |
role_id | string or null | uuid |
business_date | string | date |
timezone | string | |
status | string | pending, auto_approved, auto_flag, manual_approved, manual_denied, pay_period_published |
clocked_in_at | string | date-time |
clocked_out_at | string or null | date-time |
elapsed_minutes | number or null | |
minutes_less_unpaid_breaks | number or null | |
breaks | array of objects | |
breaks[].id | string | uuid |
breaks[].starts_at | string | date-time |
breaks[].ends_at | string or null | date-time |
breaks[].is_paid | boolean |
For multi-page results, follow the pagination and synchronization guide before updating your records.
