---
title: "Get calculated schedule times for midpoint/endpoint surveys"
method: GET
path: "/cohorts/{cohortId}/feedback-surveys/schedule-times"
tags: ["Feedback Surveys"]
---

# Get calculated schedule times for midpoint/endpoint surveys

`GET /cohorts/{cohortId}/feedback-surveys/schedule-times`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/feedback-surveys/schedule-times`
- Auth: HTTP bearer

Calculates when midpoint and endpoint surveys should be sent based on session schedule

## Path parameters

- `cohortId` string, uuid, required

## Response `200`

Schedule times calculated

- object
  - `success` boolean
  - `data` SurveyScheduleTimes
    - `midpoint` object, nullable
      - `session_number` integer
      - `session_end` string, date-time
      - `scheduled_for` string, date-time
    - `endpoint` object, nullable
      - `session_number` integer
      - `session_end` string, date-time
      - `scheduled_for` string, date-time
    - `total_sessions` integer

---

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