Skip to main content
GET
/
v1
/
scanner
/
clock
Get clock status
curl --request GET \
  --url http://localhost:3000/v1/scanner/clock
{
  "status": "clocked_in",
  "timesheet_id": 123,
  "start_time": "<string>",
  "elapsed_time": "<string>",
  "elapsed_hours": 123,
  "elapsed_minutes": 123,
  "deputy_employee_id": 123,
  "message": "<string>",
  "staff_id": "<string>"
}

Query Parameters

staff_id
string<uuid>

Staff ID for service accounts with PIN auth

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

200 - application/json

Clock status

status
enum<string>
required
Available options:
clocked_in,
clocked_out,
unavailable
timesheet_id
number
start_time
string
elapsed_time
string
elapsed_hours
number
elapsed_minutes
number
deputy_employee_id
number
message
string
staff_id
string