Approve holiday request
Approves a holiday request that is assigned to you.
POST https://cotlet.dev/api/v1/peoplehr/requests/{request_id}/holiday-request/approve
write Confirm
Approves the request as the account that is signed in, which must be its approver. PeopleHR then tells the employee in Feed. A decided request cannot be changed: it has to be deleted and submitted again. A request that is already decided fails with an error. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| request_id string required | string | Request ID from list_holiday_requests. |
| comment string | string | Comment the employee sees with the decision. |
Request
curl -X POST https://cotlet.dev/api/v1/peoplehr/requests/hol-48210/holiday-request/approve \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":"Approved, enjoy the break."}' result = client.call("peoplehr", "approve_holiday_request", {"request_id":"hol-48210","comment":"Approved, enjoy the break."}) const result = await cotlet.call('peoplehr', 'approve_holiday_request', {"request_id":"hol-48210","comment":"Approved, enjoy the break."}); cotlet call peoplehr approve_holiday_request --data '{"request_id":"hol-48210","comment":"Approved, enjoy the break."}' Example response
{
"request_id": "hol-48210",
"employee": "Priya Nair",
"start_date": "2026-11-16",
"end_date": "2026-11-18",
"status": "Approved",
"decided_by": "Dana Reyes",
"comment": "Approved, enjoy the break."
}