v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBTimeoff > Leave
Approve alls a Leave
Allows authorized users to approve employee time-off requests by directly approving the leave
post/api/2026-07-01/resources/timeoff/leaves/approve_all
Request body
Example request
{
"id": "1"
}Response
OK
Example response
{
"id": "1",
"company_id": "1",
"employee_id": "1",
"start_on": "2028-09-05",
"finish_on": "2028-09-05",
"description": "Annual family vacation",
"reason": "Medical appointment",
"leave_type_id": "36",
"approved": true,
"employee_full_name": "Bob The Boss",
"start_time": "09:00",
"hours_amount_in_cents": 800,
"updated_at": "2028-03-11T17:03:12.000Z",
"created_at": "2028-03-11T17:03:12.000Z",
"deleted_at": "2028-03-11T17:03:12.000Z",
"days_taken": 1
}