---
title: "POST /api/calendar-events"
method: POST
path: "/api/calendar-events"
tags: ["Divers"]
---

# POST /api/calendar-events

`POST /api/calendar-events`

## Request

- Base URL: `https://lucidnest.test`
- URL: `https://lucidnest.test/api/calendar-events`
- Auth: HTTP bearer

## Request body

- object
  - `title` string, required: Must not be greater than 255 characters.
  - `start_at` string, required: Must be a valid date.
  - `end_at` string, nullable: Must be a valid date. Must be a date after <code>start_at</code>.
  - `all_day` boolean
  - `description` string, nullable
  - `location` string, nullable: Must not be greater than 255 characters.
  - `color` string, nullable: Must match the regex /^#[A-Fa-f0-9]{6}$/.
  - `reminder_minutes` integer, nullable: Must be at least 0.

---

[API](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation.md) · [All operations](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation/revisions/38638944c947?raw)
