Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/taktovka-com:taktovka-com-absences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Taktovka Absences API
version: 1.0.0
description: 'Read-only access to a company''s own data in Taktovka: locations, people, the published roster, attendance, hours, absences and leave balances.
Send the key as `Authorization: Bearer tk_…`; the owner creates keys in the app (Firma → API a integrácie). Never put a key in the URL or in a browser: CORS is off.
JSON fields are snake_case; `date` is the local date of the location (YYYY-MM-DD), `*_local` its wall-clock time (HH:MM), instants are ISO 8601 with an offset, minutes are integers.
Lists answer `{ "data": [...], "next_cursor": null }`, one object `{ "data": {...} }`, errors `{ "error": { "code", "message", "status", "request_id" } }`.
Rate limit: 10 requests a second per key (burst 30), 20 per company; see the RateLimit-* headers.
v1 never changes incompatibly; new fields may be added. Something incompatible would be /v2.'
servers:
- url: https://api.taktovka.com/v1
security:
- bearer: []
tags:
- name: Absences
description: Absences and leave balances
paths:
/absences:
get:
operationId: getAbsences
summary: Absences
description: Leave, sick notes and other absences touching the range. Without absences:kinds a sick note, OČR or other absence reads `absence` and has no note, because the kind is health data; with it the real kind and the note are sent and the answer is written to the company's audit log. `from` and `to` are local dates, both included, at most 93 days apart; `next_cursor` is always null.
tags:
- Absences
x-scopes:
- absences:read
x-optional-scopes:
- absences:kinds
security:
- bearer: []
parameters:
- name: from
in: query
required: true
description: First day, YYYY-MM-DD, included; years 2000–2100
schema:
type: string
format: date
- name: to
in: query
required: true
description: Last day, YYYY-MM-DD, included; years 2000–2100
schema:
type: string
format: date
- name: employee
in: query
required: false
description: Only this person
schema:
type: string
format: uuid
- name: status
in: query
required: false
description: Only requests in this state
schema:
type: string
enum:
- requested
- approved
- rejected
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Absence'
next_cursor:
type:
- string
- 'null'
required:
- data
- next_cursor
additionalProperties: false
example:
data:
- id: 8a9b0c1d-2e3f-4a5b-8c6d-7e8f9a0b1c2d
employee_id: 3f2e1d0c-9b8a-4765-8432-10fedcba9876
kind: dovolenka
date_from: '2026-10-28'
date_to: '2026-10-29'
status: approved
note: null
created_at: '2026-10-01T12:00:00.000Z'
approved_at: '2026-10-01T16:20:00.000Z'
next_cursor: null
'400':
description: validation_failed, range_too_long or key_in_query
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthenticated, invalid_key, key_revoked or key_expired
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: insufficient_scope (with required_scope)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: rate_limited (with retry_after and a Retry-After header)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/leave-balances:
get:
operationId: getLeaveBalances
summary: Leave balances
description: 'Annual leave of a year per person: the entitlement and what was carried over as the employer entered them, what approved and waiting requests use, and what is left. Working days in SK, hours in CZ. People without an entitlement for the year are not listed. `next_cursor` is always null. Counts as 5 requests against the rate limit. Runs one at a time per company; a second call while one is running answers 429 with retry_after.'
tags:
- Absences
x-scopes:
- leave:read
x-rate-cost: 5
x-heavy: true
security:
- bearer: []
parameters:
- name: year
in: query
required: false
description: Calendar year; the company's current year when left out
schema:
type: integer
minimum: 2000
maximum: 2100
- name: employee
in: query
required: false
description: Only this person
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/LeaveBalance'
next_cursor:
type:
- string
- 'null'
required:
- data
- next_cursor
additionalProperties: false
example:
data:
- employee_id: 3f2e1d0c-9b8a-4765-8432-10fedcba9876
year: 2026
unit: day
entitled: 25
carried_over: 3
used: 12
pending: 2
remaining: 16
next_cursor: null
'400':
description: validation_failed, range_too_long or key_in_query
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthenticated, invalid_key, key_revoked or key_expired
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: insufficient_scope (with required_scope)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: rate_limited (with retry_after and a Retry-After header)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- unauthenticated
- invalid_key
- key_revoked
- key_expired
- insufficient_scope
- module_off
- validation_failed
- range_too_long
- key_in_query
- not_found
- method_not_allowed
- rate_limited
- server_error
message:
type: string
status:
type: integer
request_id:
type: string
required_scope:
type: string
enum:
- company:read
- people:read
- people:contact
- schedules:read
- attendance:read
- absences:read
- absences:kinds
- leave:read
issues:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
retry_after:
type: integer
max_days:
type: integer
module:
type: string
required:
- code
- message
- status
- request_id
additionalProperties: false
required:
- error
additionalProperties: false
LeaveBalance:
type: object
properties:
employee_id:
type: string
format: uuid
year:
type: integer
unit:
type: string
enum:
- day
- hour
entitled:
type: number
carried_over:
type: number
used:
type: number
description: Approved leave of the year, past and planned
pending:
type: number
description: Requests of the year still waiting for a decision
remaining:
type: number
description: Entitled plus carried over less used; may be below zero
required:
- employee_id
- year
- unit
- entitled
- carried_over
- used
- pending
- remaining
additionalProperties: false
Absence:
type: object
properties:
id:
type: string
format: uuid
employee_id:
type: string
format: uuid
kind:
type: string
enum:
- dovolenka
- pn
- ocr
- other
- absence
description: dovolenka | absence without absences:kinds; dovolenka | pn | ocr | other with it
date_from:
type: string
format: date
description: Local date of the location, YYYY-MM-DD
date_to:
type: string
format: date
description: Local date of the location, YYYY-MM-DD
status:
type: string
enum:
- requested
- approved
- rejected
note:
description: Only with absences:kinds
type:
- string
- 'null'
created_at:
type: string
format: date-time
description: ISO 8601 instant
approved_at:
anyOf:
- type: string
format: date-time
description: ISO 8601 instant
- type: 'null'
description: When the request was approved; null unless status is approved
required:
- id
- employee_id
- kind
- date_from
- date_to
- status
- note
- created_at
- approved_at
additionalProperties: false
securitySchemes:
bearer:
type: http
scheme: bearer
description: A company key, tk_ followed by 43 characters