Request time off

Send an absence request to your manager or HR.

POST https://cotlet.dev/api/v1/officient/absence/request

write Confirm

Creates the request the way Add 1 day and Send request do in the Calendar, and returns its id and status. The request reaches your manager or HR. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: request_absence
NameTypeDescription
type string required string Absence type as your company names it, as listed by get_calendar_budget.
from_date string required string First day, ISO date (2026-11-09).
to_date string string Last day; leave out for a single day.
day_part string required string full_day, half_day or hours.
from_time string string Start time, HH:MM, only with hours.
until_time string string End time, HH:MM, only with hours.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/officient/absence/request \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"}'
Python
result = client.call("officient", "request_absence", {"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"})
Node.js
const result = await cotlet.call('officient', 'request_absence', {"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"});
CLI
cotlet call officient request_absence --data '{"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"}'

Example response

JSON

{
  "request_id": "req_2210",
  "status": "sent",
  "type": "Holiday",
  "from_date": "2026-11-09",
  "to_date": "2026-11-13",
  "day_part": "full_day"
}

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.