---
title: "Get a time slot by ID"
method: GET
path: "/cohorts/{cohortId}/time-slots/{timeSlotId}"
tags: ["TimeSlots"]
---

# Get a time slot by ID

`GET /cohorts/{cohortId}/time-slots/{timeSlotId}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/time-slots/{timeSlotId}`
- Auth: none declared

Returns a single time slot

## Path parameters

- `cohortId` string, uuid, required
- `timeSlotId` string, uuid, required

## Response `200`

Time slot details

- object
  - `success` boolean
  - `data` TimeSlot
    - `id` string, uuid
    - `cohort_id` string, uuid
    - `identifier` string: Auto-generated identifier (e.g., BCAP08-TS1)
    - `slot_number` integer: Sequential slot number (1, 2, 3...)
    - `day_of_week` 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday'
    - `time` string: Time in HH:MM:SS format
    - `timezone` string: IANA timezone (e.g., America/New_York)
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Cohort or time slot not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
