---
title: "Validate time slot identifiers"
method: POST
path: "/cohorts/{cohortId}/time-slots/validate"
tags: ["TimeSlots"]
---

# Validate time slot identifiers

`POST /cohorts/{cohortId}/time-slots/validate`

## Request

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

Checks if an array of time slot identifiers exist for a cohort

## Path parameters

- `cohortId` string, uuid, required

## Request body

- object
  - `identifiers` string[], required

## Response `200`

Validation result

- object
  - `success` boolean
  - `data` object
    - `valid` boolean
    - `not_found` string[]

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