Taktovka Attendance API

Clocked time and hours of a month

GitHub OpenAPI

Operations 2

GET /hours Hours of a month #
GET /time-entries Clock-in and clock-out #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/taktovka-com:taktovka-com-attendance-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

taktovka-com-attendance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Taktovka Attendance 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: attendance
  description: Clocked time and hours of a month
paths:
  /hours:
    get:
      operationId: getHours
      summary: Hours of a month
      description: 'Per person: planned minutes from the published roster, counted minutes from attendance, the working-time fund of an employment contract and the person''s own confirmation of the month. The part of the fund that depends on absences is filled only for a key that also has absences:read. `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:
      - attendance
      x-scopes:
      - schedules:read
      - attendance:read
      x-optional-scopes:
      - absences:read
      x-rate-cost: 5
      x-heavy: true
      security:
      - bearer: []
      parameters:
      - name: month
        in: query
        required: true
        description: Calendar month, YYYY-MM, years 2000–2100
        schema:
          type: string
          pattern: ^(20\d\d|2100)-(0[1-9]|1[0-2])$
      - name: employee
        in: query
        required: false
        description: Only this person
        schema:
          type: string
          format: uuid
      - name: location
        in: query
        required: false
        description: Only the plan and the counted time of this location; the fund and the signature stay the person's whole month
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Hours'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                required:
                - data
                - next_cursor
                additionalProperties: false
              example:
                data:
                - employee_id: 3f2e1d0c-9b8a-4765-8432-10fedcba9876
                  month: 2026-10
                  planned_minutes: 10620
                  paid_planned_minutes: 9990
                  counted_minutes: 9870
                  fund:
                    weekly_hours: 40
                    fund_minutes: 10560
                    holiday_minutes: 0
                    absence_minutes: 960
                    target_minutes: 9600
                  confirmed:
                    confirmed_at: '2026-11-02T07:41:10.000Z'
                    counted_minutes: 9870
                    stale: false
                  meals:
                    count: 20
                    second: 1
                    absence_days: 2
                    source: both
                    form: choice
                    choice: allowance
                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'
  /time-entries:
    get:
      operationId: getTimeEntries
      summary: Clock-in and clock-out
      description: Attendance records whose clock-in falls on a day of the range on the location's clock, exactly as recorded; `corrected` marks a row a manager entered or changed. `from` and `to` are local dates, both included, at most 93 days apart; `next_cursor` is always null.
      tags:
      - attendance
      x-scopes:
      - attendance:read
      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: location
        in: query
        required: false
        description: Only this location
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TimeEntry'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                required:
                - data
                - next_cursor
                additionalProperties: false
              example:
                data:
                - id: 2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f
                  employee_id: 3f2e1d0c-9b8a-4765-8432-10fedcba9876
                  location_id: 0c8e6a42-1f3b-4d5e-8a9b-7c6d5e4f3a2b
                  shift_id: 7d6c5b4a-3f2e-4d1c-8b0a-9f8e7d6c5b4a
                  clock_in: '2026-10-24T21:56:00+02:00'
                  clock_out: '2026-10-25T06:04:00+01:00'
                  source: qr
                  offline_in: false
                  offline_out: false
                  corrected: false
                  note: null
                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:
    Hours:
      type: object
      properties:
        employee_id:
          type: string
          format: uuid
        month:
          type: string
          pattern: ^(20\d\d|2100)-(0[1-9]|1[0-2])$
          description: Calendar month, YYYY-MM, years 2000–2100
        planned_minutes:
          type: integer
          description: Elapsed minutes of the published shifts starting in the month
        paid_planned_minutes:
          type: integer
          description: The same less the breaks
        counted_minutes:
          anyOf:
          - type: integer
          - type: 'null'
          description: Counted time from the door scan and manual entries, matched to the roster the way the app counts it (rounding, the plan, the break the law requires, a minor's break); null when attendance is off at every place of the person and nothing was clocked
        fund:
          anyOf:
          - type: object
            properties:
              weekly_hours:
                type: number
              fund_minutes:
                type: integer
                description: Weekdays of the month that are not a day-off holiday, times a fifth of the weekly hours
              holiday_minutes:
                type: integer
                description: Day-off holidays on weekdays of the month
              absence_minutes:
                anyOf:
                - type: integer
                - type: 'null'
                description: Weekdays covered by an approved absence; only with absences:read, null without it
              target_minutes:
                anyOf:
                - type: integer
                - type: 'null'
                description: 'The fund less approved absences: what the plan should reach; only with absences:read, null without it'
            required:
            - weekly_hours
            - fund_minutes
            - holiday_minutes
            - absence_minutes
            - target_minutes
            additionalProperties: false
          - type: 'null'
          description: Only for an employment contract (SK TPP, CZ HPP) with agreed weekly hours
        confirmed:
          anyOf:
          - type: object
            properties:
              confirmed_at:
                type: string
                format: date-time
                description: ISO 8601 instant
              counted_minutes:
                type: integer
                description: Counted minutes at the moment of the signature
              stale:
                type: boolean
                description: The month was corrected or counts differently since the signature
            required:
            - confirmed_at
            - counted_minutes
            - stale
            additionalProperties: false
          - type: 'null'
          description: The person confirmed the month in the app
        meals:
          anyOf:
          - type: object
            properties:
              count:
                type: integer
                description: 'Shifts that give a meal under the company''s policy: more than 4 h of work in Slovakia, at least 3 h in Czechia, the break not counted'
              second:
                type: integer
                description: Second meals, on shifts longer than 11 h including the break, when the policy gives them
              absence_days:
                anyOf:
                - type: integer
                - type: 'null'
                description: Working days of approved absences that give a meal when the policy includes absences; only with absences:read and without `location`, null otherwise
              source:
                anyOf:
                - type: string
                  enum:
                  - attendance
                  - plan
                  - both
                - type: 'null'
                description: 'Where the shifts were read: counted time where the person clocked in that day at that place, the published plan elsewhere; null without a meal from work'
              form:
                type: string
                enum:
                - kitchen
                - voucher
                - allowance
                - choice
                description: How the company gives meals at the end of the month
              choice:
                anyOf:
                - type: string
                  enum:
                  - voucher
                  - allowance
                - type: 'null'
                description: 'With form `choice` (Slovakia): what the person picked, null until they pick'
            required:
            - count
            - second
            - absence_days
            - source
            - form
            - choice
            additionalProperties: false
          - type: 'null'
          description: Meals of the month for the payroll accountant, who applies the amounts; null when the company has set no meal policy in the app or the person's contract is outside it
      required:
      - employee_id
      - month
      - planned_minutes
      - paid_planned_minutes
      - counted_minutes
      - fund
      - confirmed
      - meals
      additionalProperties: false
    TimeEntry:
      type: object
      properties:
        id:
          type: string
          format: uuid
        employee_id:
          type: string
          format: uuid
        location_id:
          type: string
          format: uuid
        shift_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: The planned shift the entry belongs to; null for unplanned work
        clock_in:
          type: string
          format: date-time
          description: ISO 8601 instant with the location's offset at that moment
        clock_out:
          anyOf:
          - type: string
            format: date-time
            description: ISO 8601 instant with the location's offset at that moment
          - type: 'null'
          description: null while the person is still in
        source:
          type: string
          enum:
          - qr
          - manual
          - pos
        offline_in:
          type: boolean
          description: The clock-in was read on a phone without signal and delivered later
        offline_out:
          type: boolean
        corrected:
          type: boolean
          description: A manager entered or corrected the row
        note:
          description: Reason of the manual entry or the last correction
          type:
          - string
          - 'null'
      required:
      - id
      - employee_id
      - location_id
      - shift_id
      - clock_in
      - clock_out
      - source
      - offline_in
      - offline_out
      - corrected
      - note
      additionalProperties: false
    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
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: A company key, tk_ followed by 43 characters