Taktovka Company API

Locations and positions

GitHub OpenAPI

Operations 2

GET /locations Locations #
GET /positions Positions #

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-company-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-company-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Taktovka Company 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: Company
  description: Locations and positions
paths:
  /locations:
    get:
      operationId: getLocations
      summary: Locations
      description: 'The company''s places (prevádzky) with their time zone, whether the QR door scan is on and the averaging period of an uneven working week. Paged by id: `next_cursor` is null on the last page, otherwise pass it back as `cursor`.'
      tags:
      - Company
      x-scopes:
      - company:read
      security:
      - bearer: []
      parameters:
      - name: limit
        in: query
        required: false
        description: Rows per page, 1–500
        schema:
          default: 200
          type: integer
          minimum: 1
          maximum: 500
      - name: cursor
        in: query
        required: false
        description: The `next_cursor` of the previous page
        schema:
          type: string
          pattern: ^[\w-]{1,64}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Location'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                required:
                - data
                - next_cursor
                additionalProperties: false
              example:
                data:
                - id: 0c8e6a42-1f3b-4d5e-8a9b-7c6d5e4f3a2b
                  name: Kaviareň Hlavná
                  tz: Europe/Bratislava
                  address: Hlavná 12, Košice
                  active: true
                  attendance_enabled: true
                  work_time: 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'
  /positions:
    get:
      operationId: getPositions
      summary: Positions
      description: 'Roles shifts are planned for (barista, kitchen, floor). Paged by id: `next_cursor` is null on the last page, otherwise pass it back as `cursor`.'
      tags:
      - Company
      x-scopes:
      - company:read
      security:
      - bearer: []
      parameters:
      - name: limit
        in: query
        required: false
        description: Rows per page, 1–500
        schema:
          default: 200
          type: integer
          minimum: 1
          maximum: 500
      - name: cursor
        in: query
        required: false
        description: The `next_cursor` of the previous page
        schema:
          type: string
          pattern: ^[\w-]{1,64}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Position'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                required:
                - data
                - next_cursor
                additionalProperties: false
              example:
                data:
                - id: 9e1d2c3b-4a5f-4e6d-8c7b-1a2b3c4d5e6f
                  name: Barista
                  color: '#b45309'
                  sort_order: 0
                  active: true
                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:
    Position:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        color:
          type:
          - string
          - 'null'
        sort_order:
          type: integer
        active:
          type: boolean
      required:
      - id
      - name
      - color
      - sort_order
      - active
      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
    Location:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        tz:
          type: string
          description: IANA time zone the location plans and counts in
        address:
          type:
          - string
          - 'null'
        active:
          type: boolean
        attendance_enabled:
          type: boolean
          description: The QR door scan is on here
        work_time:
          anyOf:
          - type: object
            properties:
              distribution:
                type: string
                enum:
                - even
                - uneven
              weekly_norm_minutes:
                type: integer
                description: The standard week the average is held to, e.g. 2400 = 40 h
              averaging_start:
                anyOf:
                - type: string
                  format: date
                  description: Local date of the location, YYYY-MM-DD
                - type: 'null'
                description: First day of the first averaging period
              averaging_length:
                anyOf:
                - type: integer
                - type: 'null'
                description: 'Length of one averaging period: months in SK, weeks in CZ'
            required:
            - distribution
            - weekly_norm_minutes
            - averaging_start
            - averaging_length
            additionalProperties: false
          - type: 'null'
          description: Uneven distribution of working time with an averaging period; null when the week is even
      required:
      - id
      - name
      - tz
      - address
      - active
      - attendance_enabled
      - work_time
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: A company key, tk_ followed by 43 characters