---
title: "Locations"
method: GET
path: "/locations"
tags: ["company"]
---

# Locations

`GET /locations`

## Request

- Base URL: `https://api.taktovka.com/v1`
- URL: `https://api.taktovka.com/v1/locations`
- Auth: HTTP bearer

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`.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

OK

- object
  - `data` Location[], required
    - `id` string, uuid, required
    - `name` string, required
    - `tz` string, required: IANA time zone the location plans and counts in
    - `address` string, nullable, required
    - `active` boolean, required
    - `attendance_enabled` boolean, required: The QR door scan is on here
    - `work_time` object, nullable, required: Uneven distribution of working time with an averaging period; null when the week is even
      - `distribution` 'even' | 'uneven', required
      - `weekly_norm_minutes` integer, required: The standard week the average is held to, e.g. 2400 = 40 h
      - `averaging_start` string, date, nullable, required: Local date of the location, YYYY-MM-DD
      - `averaging_length` integer, nullable, required: Length of one averaging period: months in SK, weeks in CZ
  - `next_cursor` string, nullable, required

## Other responses

- `400`: validation_failed, range_too_long or key_in_query
- `401`: unauthenticated, invalid_key, key_revoked or key_expired
- `403`: insufficient_scope (with required_scope)
- `429`: rate_limited (with retry_after and a Retry-After header)

---

[API](https://skmtc.dev/taktovka/apis/taktovka-api.md) · [All operations](https://skmtc.dev/taktovka/apis/taktovka-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taktovka/apis/taktovka-api/revisions/612199b365e1?raw)
