---
title: "Check Outlook calendar free/busy availability for people or rooms"
method: POST
path: "/v1/capabilities/microsoft-365/calendar-availability"
tags: ["Capability Sources"]
---

# Check Outlook calendar free/busy availability for people or rooms

`POST /v1/capabilities/microsoft-365/calendar-availability`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/capabilities/microsoft-365/calendar-availability`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Checks free/busy availability windows for up to 20 colleagues or rooms via Microsoft Graph getSchedule. Read-only; uses existing Outlook calendar read permission.

## Request body

- Microsoft365CalendarAvailabilityBody
  - `schedules` string[], required: Email addresses of people or rooms whose free/busy schedule to check (up to 20).
  - `start` string, date-time, required: Inclusive UTC start timestamp (ISO 8601 with Z suffix).
  - `end` string, date-time, required: Exclusive UTC end timestamp (ISO 8601 with Z suffix).
  - `timeZone` string: Preferred output timezone (for example Europe/London or UTC).
  - `intervalMinutes` integer: Slot size in minutes for availabilityView (default 30).

## Response `200`

Free/busy schedules returned.

- Microsoft365CalendarAvailabilityResponse
  - `ok` true, required
  - `schedules` Microsoft365CalendarSchedule[], required
    - `scheduleId` string, required
    - `availabilityView` string, required: One character per interval: 0=free, 1=tentative, 2=busy, 3=out of office, 4=working elsewhere, ?=unknown.
    - `scheduleItems` Microsoft365CalendarScheduleItem[], required
      - `status` string, required
      - `start` string, required
      - `startTimeZone` string, required
      - `end` string, required
      - `endTimeZone` string, required
      - `isPrivate` boolean, required
    - `workingHours` Microsoft365CalendarWorkingHours, nullable, required
      - `daysOfWeek` string[], required
      - `startTime` string, required
      - `endTime` string, required
      - `timeZone` string, required
    - `error` string, nullable, required

## Other responses

- `400`: A request parameter or payload is invalid.
- `401`: The caller must be signed in.
- `403`: The connection is blocked by organization policy.
- `409`: The calling member has not connected Microsoft 365 or is missing permission.
- `502`: Microsoft Graph rejected the request.

## Changes

- **2026-12-02** `79f1f5ef5c76`: 1 info
  - removed the non-success response with the status `404`
- **2026-11-30** `8491c9c1b679`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/capabilities/microsoft-365/calendar-availability/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
