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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' result = client.call("officient", "request_absence", {"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"}) const result = await cotlet.call('officient', 'request_absence', {"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"}); cotlet call officient request_absence --data '{"type":"Holiday","from_date":"2026-11-09","to_date":"2026-11-13","day_part":"full_day"}' Example response
{
"request_id": "req_2210",
"status": "sent",
"type": "Holiday",
"from_date": "2026-11-09",
"to_date": "2026-11-13",
"day_part": "full_day"
}