Overview

The Time Clock API provides comprehensive workforce time tracking capabilities. Manage employee clock-ins, clock-outs, time activities, geofences, and retrieve timesheet data for payroll processing.

Key Concepts

Time Clocks

Time clocks are the core organizational unit. Each time clock can have its own settings, jobs, geofences, and assigned users. An account can have multiple time clocks for different departments or locations.

Time Activities

Time activities represent work records and include:

  • Shifts: Regular work periods tracked by clock-in/clock-out
  • Manual Breaks: Scheduled break periods (paid or unpaid)
  • Time Offs: Approved PTO that appears on timesheets

Punch Source Types

Each clock event tracks its source:

SourceDescription
mobileClocked via mobile app
pcClocked via desktop
kioskClocked via shared kiosk
nfcClocked via NFC tag
apiClocked via API
adminManually added by admin
autoClockOutSystem auto clock-out

Auto Clock-Out Modes

When auto clock-out occurs, the reason is tracked:

ModeDescription
dailyLimitDaily hour limit reached
hourLimitShift hour limit reached
schedulerShiftEndedScheduled shift ended
geofenceExitUser exited geofenced area
disabledGpsGPS was disabled
disabledGpsPermissionGPS permission revoked

Available Endpoints

Time Clocks

MethodEndpointDescription
GET/time-clock/v1/time-clocksGet all time clocks

Time Activities

MethodEndpointDescription
GET/time-clock/v1/time-clocks/{timeClockId}/time-activitiesGet time activities
POST/time-clock/v1/time-clocks/{timeClockId}/time-activitiesCreate time activities
PUT/time-clock/v1/time-clocks/{timeClockId}/time-activitiesUpdate time activities

Real-Time Clocking

MethodEndpointDescription
POST/time-clock/v1/time-clocks/{timeClockId}/clock-inClock in a user
POST/time-clock/v1/time-clocks/{timeClockId}/clock-outClock out a user

Geofences

MethodEndpointDescription
GET/time-clock/v1/time-clocks/{timeClockId}/geofencesGet all geofences
POST/time-clock/v1/time-clocks/{timeClockId}/geofencesCreate geofences
GET/time-clock/v1/time-clocks/{timeClockId}/geofences/{fenceId}Get a geofence
DELETE/time-clock/v1/time-clocks/{timeClockId}/geofences/{fenceId}Delete a geofence

Timesheet & Payroll

MethodEndpointDescription
GET/time-clock/v1/time-clocks/{timeClockId}/timesheetGet timesheet totals

Supporting Data

MethodEndpointDescription
GET/time-clock/v1/time-clocks/{timeClockId}/shift-attachmentsGet shift attachment settings
GET/time-clock/v1/time-clocks/{timeClockId}/manual-breaksGet manual break settings

Constraints

ConstraintValue
Max users per time activities request100
Max shifts per user (create/update)50
Max manual breaks per user (create/update)50
Max geofences per create request1000
Max jobs per geofence100
Geofence radius75-1524 meters
Time activities date range92 days (3 months)
Timesheet date range45 days
TimestampsUnix epoch (seconds)
Date formatYYYY-MM-DD

Authentication

All endpoints require authentication via API key or OAuth 2.0.

Required Scopes

ScopeOperations
time_clock.readGET time clocks, time activities, geofences, timesheet, settings
time_clock.writePOST/PUT time activities, clock-in, clock-out, create geofences
time_clock.deleteDELETE geofences

Validation Rules

⚠️

Important Validations

  • Users must be assigned to the time clock before any operations
  • Jobs must be assigned to the time clock if job tracking is required
  • Cannot create/update time activities on locked or approved days
  • Start time must be before end time for all activities

Guide Pages

PageDescription
Getting Time ClocksRetrieve available time clocks
Time ActivitiesQuery, create, and update time records
Real-Time ClockingClock in and clock out users
GeofencesManage location-based restrictions
Timesheet TotalsGet payroll-ready hour summaries
Settings & ConfigurationRetrieve shift attachments and manual breaks

API Reference