---
title: "Create a new Event"
method: POST
path: "/v2/event"
tags: ["Events"]
---

# Create a new Event

`POST /v2/event`

Creates a new Event and returns the created Event object.

## Headers

- `Authorization` string, required

## Request body

- CreateEventV2Dto
  - `status` 'Done' | 'Open' — The status of the event.
  - `title` string, required — The title of the event.
  - `description` string — The description of the event.
  - `start` string, required — The time & date when the event starts. Must be before the end date.
  - `end` string, required — The time & date when the event ends. Must be after the start date.
  - `isAllDay` object — Whether the event is an all-day event.
  - `techIds` string[] — Array of tech IDs assigned to the event (prefix `USR-`).

## Response `201`

The created Event.

- ResponseEventV2Dto
  - `id` string — The ID of the event (prefix `EVT-`).
  - `status` 'Done' | 'Open' — The status of the event.
  - `title` string — The title of the event.
  - `description` string — The description of the event.
  - `start` string — The time & date when the event starts.
  - `end` string — The time & date when the event ends.
  - `isAllDay` boolean — Whether the event is an all-day event.
  - `techIds` string[] — Array of tech IDs assigned to the event (prefix `USR-`).
  - `isDeleted` boolean — Whether the event is deleted.
  - `updatedAt` string — The date and time the event was updated.
  - `createdAt` string — The date and time the event was created.

## Other responses

- `400` — Invalid input.
- `401` — Missing or invalid authentication token.
- `404` — Tech not found

---

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