Request absence
Sends an absence request to your manager for the dates and type you give.
POST https://cotlet.dev/api/v1/bizneo/absence/request
Does what +Request absence does in My Calendar. The request goes to your manager as pending, and the response shows the days counted and the balance that remains. from_time and to_time work only for types that accept hours. Dates that clash with an absence you already have are refused with the reason. Documents are not uploaded through this tool; attach them in Bizneo. Your manager is notified. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| absence_type string required | string | Absence type name as list_absence_types returns it. |
| start_date date required | date | First day of the absence. |
| end_date date required | date | Last day. The same as start_date for one day. |
| from_time string | string | Start time HH:MM, only for types that accept hours. |
| to_time string | string | End time HH:MM, only for types that accept hours. |
| comment string | string | Comment your manager will see. |
Request
curl -X POST https://cotlet.dev/api/v1/bizneo/absence/request \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"absence_type":"Vacation","start_date":"2026-12-21","end_date":"2026-12-23","comment":"Christmas week"}' result = client.call("bizneo", "request_absence", {"absence_type":"Vacation","start_date":"2026-12-21","end_date":"2026-12-23","comment":"Christmas week"}) const result = await cotlet.call('bizneo', 'request_absence', {"absence_type":"Vacation","start_date":"2026-12-21","end_date":"2026-12-23","comment":"Christmas week"}); cotlet call bizneo request_absence --data '{"absence_type":"Vacation","start_date":"2026-12-21","end_date":"2026-12-23","comment":"Christmas week"}' Example response
{
"request_id": "abs_17021100",
"state": "pending",
"absence_type": "Vacation",
"start_date": "2026-12-21",
"end_date": "2026-12-23",
"days": 3,
"manager": "Carlos Vega",
"balance_after": {
"available": 12,
"unit": "days"
}
}