---
title: "List a resource's dated absences"
method: GET
path: "/v1/resources/{resourceId}/absences"
tags: ["Resources"]
---

# List a resource's dated absences

`GET /v1/resources/{resourceId}/absences`

## Request

- Base URL: `https://api.workwing.io`
- URL: `https://api.workwing.io/v1/resources/{resourceId}/absences`
- Auth: HTTP bearer

Lists dated unavailability windows for a resource. An absence blocks scheduling and auto-assignment for jobs whose window overlaps it; ends_at is exclusive, so a window ending at 17:00 does not overlap one starting at 17:00. Pass from and/or to to limit results to absences overlapping that range, using the same exclusive-end rule.

## Path parameters

- `resourceId` string, uuid, required

## Query parameters

- `from` string, date-time
- `to` string, date-time

## Response `200`

Default Response

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `resource_id` string, uuid, required
    - `starts_at` string, date-time, required
    - `ends_at` string, date-time, required: Exclusive end of the absence.
    - `is_all_day` boolean, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `meta` object, required
    - `request_id` string, required
    - `timestamp` string, date-time, required

---

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