---
title: List out-of-office entries
description: "Returns the workspace's OOO entries ordered by start time."
api_method: GET
api_path: "/v1/out-of-office"
canonical_url: https://wiblo.app/docs/developers/api/out-of-office/list-out-of-office-entries
last_updated: 2026-07-28T18:08:25+02:00
md_url: https://wiblo.app/docs/developers/api/out-of-office/list-out-of-office-entries.md
---

# List out-of-office entries

`GET /v1/out-of-office`

Returns the workspace's OOO entries ordered by start time. Past entries (ended before now) are excluded unless `include_past=true`. Optional filters: `member_id`, `start_date` / `end_date` (YYYY-MM-DD, overlap semantics). Available to any active member. Per-user rate-limited at 60/60s.

## Query parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `member_id` | `string` | No |  |
| `start_date` | `string` | No |  |
| `end_date` | `string` | No |  |
| `include_past` | `"true" \| "false"` | No |  |

## Headers

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Wiblo-Workspace` | `string` | Yes | Workspace id the call is scoped to. The actor must hold an active membership in it; a foreign or unknown id collapses onto 404 WORKSPACE_NOT_FOUND. |

## Request

**curl**

```bash
curl "https://api.wiblo.app/v1/out-of-office?start_date=2026-08-01&end_date=2026-09-30" \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "X-Wiblo-Workspace: $WIBLO_WORKSPACE_ID"
```

**TypeScript**

```ts
import { createSdk, listOutOfOfficeEntries } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await listOutOfOfficeEntries({
  client: sdk,
  query: { start_date: "2026-08-01", end_date: "2026-09-30" },
  headers: { "X-Wiblo-Workspace": "..." },
})
```

## Example response

```json
{
  "entries": [
    {
      "id": "4e9d2c7a-1f5b-4c8e-9a3d-6b2f8c4e7a1d",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "member_id": "5f2d8c1b-7e4a-4b9d-a6c3-1d8e5f2a7b4c",
      "start_time": "2026-08-31T00:00:00.000Z",
      "end_time": "2026-09-05T00:00:00.000Z",
      "notes": "Summer leave, back Monday 7 September.",
      "created_at": "2026-07-28T10:24:00.000Z",
      "updated_at": "2026-07-28T10:24:00.000Z"
    },
    {
      "id": "7c3f9e1d-8a5b-4d2c-b6e9-0f4a7c2e8b5d",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "member_id": "8b3e6d2a-4c7f-4e1b-9d5a-2f6c8e3b7a1d",
      "start_time": "2026-09-17T08:00:00.000Z",
      "end_time": "2026-09-18T17:00:00.000Z",
      "notes": null,
      "created_at": "2026-07-21T15:02:00.000Z",
      "updated_at": "2026-07-21T15:02:00.000Z"
    }
  ]
}
```

## Responses

**`200`** — The matching OOO entries. Returns `OutOfOfficeListResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `entries` | `array<OutOfOfficeResponse>` | Yes | The matching out-of-office entries, ordered by start time. |

**`400`** — The `X-Wiblo-Workspace` header was missing, or a filter was malformed (`VALIDATION_FAILED`). Returns `ApiErrorEnvelope`.

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`404`** — The actor has no active membership in the header's workspace (`WORKSPACE_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.

### The OutOfOfficeResponse object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | Unique id of the entry. |
| `workspace_id` | `string` | Yes | Workspace the entry belongs to. |
| `member_id` | `string` | Yes | Workspace member the out-of-office period belongs to. |
| `start_time` | `string` | Yes | Start of the blocked range (RFC 3339). |
| `end_time` | `string` | Yes | End of the blocked range (RFC 3339). |
| `notes` | `string \| null` | Yes | Free-form note; `null` when unset. |
| `created_at` | `string` | Yes | Creation timestamp (RFC 3339). |
| `updated_at` | `string` | Yes | Last-update timestamp (RFC 3339). |
