---
title: "Create Event"
method: POST
path: "/v2/company/{company_id}/events"
tags: ["Schedule Events"]
---

# Create Event

`POST /v2/company/{company_id}/events`

## Path parameters

- `company_id` integer, required

## Headers

- `x-api-version` string — An API version
- `x-company-guid` string, uuid

## Request body

- object
  - `location_ids` integer[], required — The list of locations where this event occurs
  - `start_date` string, required — Start date
  - `start_time` string, required — Start time
  - `end_date` string, required — End date for multi-day events
  - `end_time` string, required — End time
  - `title` string, required — The name of the event
  - `description` string, nullable — Description for event
  - `color` string, nullable — A hex number representing the color
  - `is_multi_day` boolean, required — If true, the event is a multi-day event
  - `recurrence` string, nullable — Recurrence rules as defined by the RFC 5545 spec

## Response `200`

OK

- object
  - `id` integer, required
  - `event_type` 'general' | 'birthday' | 'work_anniversary', required
  - `location_ids` integer[], required — The list of locations where this event occurs
  - `start` object[] — The events start date-time for each locations timezone
    - `location_id` integer, required — Location ID
    - `date_time` string, required — The events start date-time for the locations timezone
  - `start_date` string, required — Start date
  - `start_time` string, required — Start time
  - `end` object[] — The events end date-time for each locations timezone
    - `location_id` integer, required — Location ID
    - `date_time` string, required — The events end date-time for the locations timezone
  - `end_date` string, required — End date for multi-day events
  - `end_time` string, required — End time
  - `title` string, required — The name of the event
  - `description` string, nullable — Description for event
  - `color` string, nullable — A hex number representing the color
  - `is_multi_day` boolean, required — If true, the event is a multi-day event
  - `recurrence` string, nullable — Recurrence rules as defined by the RFC 5545 spec
  - `all_day` boolean, required — If true, the event is an all day event

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Unprocessable Entity
- `500` — Unexpected error

---

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