---
title: "List all Locked Dates"
method: GET
path: "/api/lockeddates"
tags: ["LockedDates"]
---

# List all Locked Dates

`GET /api/lockeddates`

## Request

- Base URL: `https://app.timetastic.co.uk` (the document declares no server; this is the origin it was published from)
- URL: `https://app.timetastic.co.uk/api/lockeddates`
- Auth: none declared

Get a collection of all locked dates for your organisation.

## Response `200`

Returns the list of locked dates. An empty list if there are none.

- TimetasticCoreModelsLockedDate[]
  - `id` integer
  - `createdAt` string, date-time
  - `createdById` integer
  - `reason` string, nullable
  - `startTime` string, date-time
  - `endTime` string, date-time
  - `organisationId` integer
  - `recordId` integer
  - `recordType` 1 | 2 | 3: - `1` — **Organisation** - `2` — **Department** - `3` — **User**

## Other responses

- `401`: The request was not authenticated — the API token is missing or invalid.

---

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