---
title: "Get an availability period"
method: GET
path: "/availability-periods/{id}"
tags: ["Availability Periods"]
---

# Get an availability period

`GET /availability-periods/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/availability-periods/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

200

- AvailabilityPeriod
  - `hoursPerDay` number[]: A list of available hours for each day of the week. The array size is always 7. The first value represents Monday.
  - `id` string: The unique identifier for the object.
  - `start` string, date: The start date for the period. Will be in the form YYYY-MM-DD.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `isDefault` boolean: Whether this is the default availability period for the member.
  - `end` string, date, nullable: The end date for the period. Will be in the form YYYY-MM-DD. `null` if the period has no end date.

## Other responses

- `400`: 400
- `404`: 404

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
