---
title: "Create Event Endpoint"
method: POST
path: "/api/v1/share/create-event"
tags: ["posts"]
---

# Create Event Endpoint

`POST /api/v1/share/create-event`

## Query parameters

- `user_id` string, required
- `page_id` string, required

## Request body

- CreatePostEventRequestDTO
  - `rule_name` string, required
  - `scheduled_time` string, date-time, required
  - `social_media` string, required
  - `content` CreateEventModel, required
    - `content` string, required
    - `image_url` string, nullable
    - `video_url` string, nullable
  - `post_type` string, required
  - `media_type` string, required
  - `description` string, nullable
  - `privacy_status` string, nullable
  - `post_as_draft` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/624917d53409/schema)
