Ingest a timeclock punch

Create a single punch record. Fully idempotent when an idempotency_key is provided (either in the body or the Idempotency-Key header). On duplicate key detection, returns the original punch with action: "duplicate" instead of an error.

Validates that the employee belongs to the API key's account and has an active employment record. Timestamps are stored as-is (timestamptz) — the caller is responsible for providing absolute timestamps.

Required scope: write:punches

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

Must belong to the API key's account

date-time
required

ISO 8601 datetime. Stored as-is (timestamptz) — caller provides absolute timestamps.

date-time | null

Must be after start_date if provided

string
required
length between 1 and 50

e.g., "regular", "break"

string | null

Unique key for idempotent ingestion. Also accepted as Idempotency-Key header.

string | null

Caller's own reference ID for this punch

Headers
string

Alternative to the idempotency_key body field

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json