---
title: "Create an Event"
method: POST
path: "/partner/events"
tags: ["Partner::Events"]
---

# Create an Event

`POST /partner/events`

Request to create events/classes to be consumed by 'Totalpass Students'. All fields in the payload are mandatory.

## Parameters

- `#/paths/~1partner~1events/get/parameters/0` — unresolved $ref

## Request body

- object
  - `title` string, required — Title of the class/event.
  - `responsible` string, required — Name of the responsible person.
  - `duration` integer, required — Duration of the class in minutes.
  - `slots` integer, required — Number of slots allocated for Totalpass Students.
  - `planId` integer, required — Numeric ID that represents the Gym Plan.
  - `timezone` 'pt-BR' | 'es-MX', required — Timezone of the event/class location. Possible values: 'pt-BR' and 'es-MX'.
  - `startDate` string, date, required — Start date of the occurrence duration* (format: 'YYYY-MM-DD').
  - `endDate` string, date, required — End date of the occurrence duration* (format: 'YYYY-MM-DD').
  - `seatMapId` integer — Numeric ID that represents the Seat Map.
  - `status` 'ACTIVE' | 'INACTIVE' | 'HIDDEN' — Event status, can be ACTIVE, INACTIVE or HIDDEN.
  - `description` string — Description of the event/class.
  - `frequencyOptions` object[], required — Array of objects containing information about the frequency of occurrences*.
    - `startTime` string[], required
    - `weekday` integer, required — Representation of the day of the week from 0 to 6.

## Response `201`

Created a event

- object

## Other responses

- `400` — Bad Request
- `401` — unresolved $ref

---

[API](https://skmtc.net/totalpass/apis/token-use.md) · [All operations](https://skmtc.net/totalpass/apis/token-use/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/totalpass/token-use/revisions/bc65b4950c7e/schema)
