# Publish event

`POST /events/{id}/publish`

Base URL: `https://api.viewcy.com/2025_06`

## Parameters

- `id` (path, string, **required**) (example: `00000000-0000-0000-0000-000000000000`)

## Request Body

Content-Type: `application/x-www-form-urlencoded`



## Responses

### 200 — Publishes the draft event

- `object` (string)
- `id` (string)
- `slug` (string)
- `name` (string)
- `description` (string)
- `category` (string)
- `status` (string)
- `visibility` (string)
- `accessMode` (string)
- `timezone` (string)
- `locationSetting` (string)
- `hideAddressUntilPurchase` (boolean)
- `featuredVideoUrl` (any)
- `bookText` (string)
- `collectInformationSetting` (string)
- `refundsAllowed` (boolean)
- `orderAnswersEditable` (boolean)
- `doorTimeMinutes` (any)
- `showOccurrencesAsSeparateEvents` (boolean)
- `tags` (array)
- `registrationLimit` (integer)
- `currency` (string)
- `featuredImageUrl` (any)
- `images` (array)
- `theme` (string)
- `seatsEventKey` (any)
- `likeCount` (integer)
- `url` (string)
- `createdAt` (string)
- `updatedAt` (string)
- `meta` (object)
  - `requestId` (string)

### 401 — Returns 401

- `object` (string)
- `status` (integer)
- `message` (string)
- `meta` (object)
  - `requestId` (string)

### 403 — Publishes the draft event

- `object` (string)
- `status` (integer)
- `message` (string)
- `meta` (object)
  - `requestId` (string)

### 404 — Publishes the draft event

- `object` (string)
- `status` (integer)
- `message` (string)
- `meta` (object)
  - `requestId` (string)

### 422 — Returns 422 when every occurrence is canceled

- `object` (string)
- `status` (integer)
- `message` (string)
- `errors` (array)
  Items:
    - `message` (string)
    - `field` (string)
- `meta` (object)
  - `requestId` (string)

---
Full OpenAPI spec: https://developer.viewcy.com/openapi/2025_06_viewcy_api.yaml

Interactive docs: https://developer.viewcy.com/api/publish-event
