---
title: "Available times for a public booking link (MED-1319)"
method: GET
path: "/api/public/booking/{token}/availability"
tags: ["Public Booking"]
---

# Available times for a public booking link (MED-1319)

`GET /api/public/booking/{token}/availability`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/public/booking/{token}/availability`
- Auth: none declared

## Path parameters

- `token` string, required

## Query parameters

- `start_time` string, date-time, required
- `end_time` string, date-time, required

## Response `200`

The slots

## Other responses

- `400`: Bad dates or a window over 7 days (validation_error)
- `404`: Unknown or revoked token (link_not_found)
- `409`: Booking is not available for this link (booking_unavailable)

---

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