---
title: "Fetch available time slots"
method: GET
path: "/api/calendly/availability"
tags: ["Calendly"]
---

# Fetch available time slots

`GET /api/calendly/availability`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/calendly/availability`
- Auth: HTTP bearer

Server-side proxy to Calendly's availability API. Results cached for 3 minutes
to respect rate limits (~500 req/min). Calendly returns max 7-day windows.

## Query parameters

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

## Response `200`

Available time slots

- object
  - `success` boolean
  - `data` object[]
    - `status` 'available' | 'invitees_remain'
    - `invitees_remaining` integer
    - `start_time` string, date-time
    - `end_time` string, date-time
    - `scheduling_url` string

## Other responses

- `400`: Missing required parameters
- `401`: Authentication required

---

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