---
title: "List all time slots for a cohort"
method: GET
path: "/cohorts/{cohortId}/time-slots"
tags: ["TimeSlots"]
---

# List all time slots for a cohort

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

## Request

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

Returns all time slots for a cohort ordered by slot number

## Path parameters

- `cohortId` string, uuid, required

## Response `200`

List of time slots

- object
  - `success` boolean
  - `data` object
    - `time_slots` TimeSlotResponse[]
      - `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
      - `display_time` string: Formatted time (e.g., 10:00 AM)
      - `display_day` string: Full day name (e.g., Tuesday)
      - `timezone_abbreviation` string: Timezone abbreviation (e.g., ET)
    - `total` integer

## Other responses

- `401`: Unauthorized
- `404`: Cohort 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)
