---
title: "Add an event"
method: POST
path: "/api/v1/events"
tags: ["Events"]
---

# Add an event

`POST /api/v1/events`

## Request body

- CreateEvent
  - `token` string, required
  - `item` object
    - `name` string, required — event title
    - `start_date` string, date, required — the event start date
    - `end_date` string, date, required — the event end date
    - `description` string — text description for this event
    - `notify_members` string — who should be notified regarding the event: notify only me =[1], notify all participants = [-1], none =[0]
    - `notify_at` string, date — when to notify about the event
    - `is_fullday_event` boolean — true/false
    - `repeats` integer — 1/0
    - `repeat_frame` string — the time frame which the event will be repeated at - Never, days, weeks, months
    - `eventable_id` integer — the equipment id which the event is related to
    - `eventable_type` string — the item class name - System::Instrument

## Response `201`

event created

## Other responses

- `401` — Error: Unauthorized
- `422` — Repeats frame should be a number and greater than 0

---

[API](https://skmtc.net/labguru/apis/labguru-api.md) · [All operations](https://skmtc.net/labguru/apis/labguru-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labguru/labguru-api/revisions/0534e4d70b77/schema)
