Skip to main content
POST
/
workers
/
{id}
/
time-punches
Create Worker Time Punch
curl --request POST \
  --url https://api.roostedhr.com/api/1_12/workers/{id}/time-punches \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "clock": "2023-01-01 22:33:44"
}
'
true

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Worker ID

Body

application/json

Clock of the time punch

clock
string<date-time>
Example:

"2023-01-01 22:33:44"

Response

OK

The response is of type boolean.