Get the team absence calendar
Return the monthly absence calendar of your team for a given year and month: every active employee with their approved absences of that month (each coloured by its absence type) and the public holidays that apply, kept separate from the absences. Optionally scoped to a single employee_id (UUID v7). A computed resource: it exposes employee_id per member, never an id.
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/companies/{company}/absence-calendar
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
Query parameters
Calendar year (4 digits).
Calendar month (1-12).
Employee ID (UUID v7) to limit the calendar to a single employee (optional).
Headers
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
Response
Example response
{
"data": {
"year": 2026,
"month": 8,
"members": [
{
"employee_id": "01933a1f-8c21-7b3d-9e4f-1a2b3c4d5e01",
"full_name": "Lucía Fernández Ruiz",
"absences": [
{
"start_date": "2026-08-03",
"end_date": "2026-08-14",
"absence_type_name": "Vacaciones",
"color": "#2563EB",
"status": "approved"
}
]
}
],
"holidays": [
{
"date": "2026-08-15",
"name": "Asunción de la Virgen",
"scope": "national"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.