Skip to content

Clocked hours

Record clock-in and clock-out events for an employee against a specific clocking device. Both endpoints require the clock token scope.

Register a clock-in

Request

Requires scope: clock.

Registers a clock in moment for an employee.

Security
apiKey(Required scopes: clock)
Bodyapplication/jsonrequired
employeeIdintegerrequired
Example:1
deviceIdstring, [ 1 .. 35 ] charactersrequired
Example:"POS-FRONTDESK-01"
dateTimestring(UTC_DateTime)required

DateTime in UTC ISO 8601 format

Example:"2026-01-01T00:00:00Z"
officeIdinteger or null
Example:1
curl -i -X POST \
  https://beta-developer.dyflexis.com/_mock/openapi/api/clock/v3/clock-in \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "employeeId": 1,
    "deviceId": "POS-FRONTDESK-01",
    "dateTime": "2026-01-01T00:00:00Z",
    "officeId": 1
  }'

Responses

Response code 201 - CREATED

Bodyapplication/json
object

Response code 201 - CREATED

Response
{}