---
title: "Create an out-of-office entry"
method: POST
path: "/appointments/out-of-office"
tags: ["Appointments"]
---

# Create an out-of-office entry

`POST /appointments/out-of-office`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/appointments/out-of-office`
- Auth: HTTP bearer

Create an out-of-office entry for the calling user. While active, the
user's slots are blocked for booking. ``start`` and ``end`` may be local
calendar dates paired with ``time_zone`` or legacy ISO-8601 datetimes.
Optional ``to_user_id`` exposes an alternative teammate booking path.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- CreateOutOfOfficeRequest
  - `start` string, required
  - `end` string, required
  - `notes` string, nullable
  - `public_note` string, nullable
  - `to_user_id` integer, nullable
  - `reason` string, nullable
  - `time_zone` string, nullable
  - `user_id` integer, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
