---
title: "Get upcoming sessions across all cohorts"
method: GET
path: "/api/dashboard/upcoming-sessions"
tags: ["Dashboard"]
---

# Get upcoming sessions across all cohorts

`GET /api/dashboard/upcoming-sessions`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/dashboard/upcoming-sessions`
- Auth: HTTP bearer

Returns the next 5 upcoming sessions across all LIVE cohorts. Sessions are grouped by cohort and session number, aggregating group counts.

## Response `200`

List of upcoming sessions

- object
  - `success` boolean
  - `data` object[]
    - `cohort_id` string, uuid
    - `cohort_name` string
    - `partner_name` string
    - `session_number` integer
    - `topic_name` string, nullable
    - `week_of` string, date
    - `group_count` integer

## Other responses

- `401`: Unauthorized - authentication required
- `500`: Internal server error

---

[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)
