---
title: "Create spots for an event"
method: POST
path: "/events/{eventID}/spots"
tags: ["Events"]
---

# Create spots for an event

`POST /events/{eventID}/spots`

Create a specified number of spots for an event

## Path parameters

- `eventID` string, required

## Request body

- HttpCreateSpotsRequest
  - `number_of_spots` integer

## Response `201`

Created

- UsecaseCreateSpotsOutputDTO
  - `spots` UsecaseSpotDTO[]
    - `event_id` string
    - `id` string
    - `name` string
    - `reserved` boolean
    - `status` string
    - `ticket_id` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

- **2024-06-10** `2ee95dd930d4` — 1 info
  - endpoint added
- **2024-06-09** `929f78aa3151` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/devfullcycle/apis/events-api/changes/events/:eventID/spots/post.md)

---

[API](https://skmtc.dev/devfullcycle/apis/events-api.md) · [All operations](https://skmtc.dev/devfullcycle/apis/events-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devfullcycle/events-api/revisions/5869daf604b2/schema)
