---
title: "Returns the remaining capacity of each resource per day"
method: GET
path: "/resource_availability"
tags: ["ResourceAvailability"]
---

# Returns the remaining capacity of each resource per day

`GET /resource_availability`

## Request

- Base URL: `https://partners-api.mytime.com/api`
- URL: `https://partners-api.mytime.com/api/resource_availability`
- Auth: API key in header `X-Api-Key`

Returns, for every day in the date range, how many more bookings each resource
            (room, equipment, etc.) can still take. Works for past and future dates

## Query parameters

- `location_partner_id` string
- `location_mytime_id` integer
- `start_date` string, required
- `end_date` string, required

## Headers

- `X-Subdomain` string

## Response `200`

Resource Availability response

- ResourceAvailability[]
  - `date` string, date
  - `resource_mytime_id` integer
  - `resource_name` string
  - `remaining_capacity` integer: Resource capacity minus bookings for that date. Negative when the resource is overbooked.
  - `services_no` integer: Total services booked at the location on that date, across all resources. Repeated on every resource row for the day — do not sum across rows.

## Other responses

- `401`: Unauthorized
- `422`: Invalid parameters
- `500`: Internal Server Error
- `504`: Gateway Timeout

## Changes

- **2026-09-22** `0578fb80cb64`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mytime/apis/mytime-partners-api/changes/resource_availability/get.md)

---

[API](https://skmtc.dev/mytime/apis/mytime-partners-api.md) - [All operations](https://skmtc.dev/mytime/apis/mytime-partners-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mytime/apis/mytime-partners-api/revisions/857eb7db738d?raw)
