Decline holiday request

Declines a holiday request that is assigned to you.

POST https://cotlet.dev/api/v1/peoplehr/requests/{request_id}/holiday-request/decline

write Confirm

Declines the request as the account that is signed in, which must be its approver. PeopleHR then tells the employee in Feed, so give a reason in the comment. A decided request cannot be changed: it has to be deleted and submitted again. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: decline_holiday_request
NameTypeDescription
request_id string required string Request ID from list_holiday_requests.
comment string string Reason the employee sees with the decision.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/peoplehr/requests/request_8c41d2/holiday-request/decline \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("peoplehr", "decline_holiday_request", {"request_id":"request_8c41d2"})
Node.js
const result = await cotlet.call('peoplehr', 'decline_holiday_request', {"request_id":"request_8c41d2"});
CLI
cotlet call peoplehr decline_holiday_request --data '{"request_id":"request_8c41d2"}'

Example response

JSON

{
  "request_id": "hol-48233",
  "employee": "Lena Ortiz",
  "start_date": "2026-12-01",
  "end_date": "2026-12-10",
  "status": "Declined",
  "decided_by": "Dana Reyes",
  "comment": "Freeze week, please pick other dates."
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.