Attendance > OvertimeRequest

Updates an Overtime request

Changed on

Updates an Overtime request

put/api/2026-10-01/resources/attendance/overtime_requests/{id}

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/attendance/overtime_requests/{id}
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: time_tracking
    • or API key in header x-api-key

Path parameters

idstring required

Request body

idstring required
datestring
descriptionstring
hours_amountnumber
reasonstring

Response

OK

idstring required

Unique identifier of the overtime request

employee_idstring required

ID of the employee the overtime is for

approver_idstring

ID of the employee assigned to approve the request (null if unassigned)

author_idstring required

ID of the employee who created the request

status'pending' | 'approved' | 'rejected' | 'none' required

Approval status of the overtime request — one of pending, approved, rejected, none

descriptionstring

Free-text description of the overtime request

reasonstring

Reason provided for the overtime

datestring required

The day the overtime was (or will be) worked

hours_amount_in_centsinteger required

Requested overtime amount in hundredths of an hour (e.g. 800 = 8 hours)

created_atstring

When the request was created

approverboolean required
approver_full_namestring
is_editableboolean required

Defines if the overtime request can be edited

Example response

{
  "id": "1",
  "employee_id": "1",
  "approver_id": "2",
  "author_id": "1",
  "status": "pending",
  "description": "Project deadline crunch",
  "reason": "Release night",
  "date": "2026-09-05",
  "hours_amount_in_cents": 800,
  "created_at": "2026-03-11T17:03:12.000Z"
}

Changes