---
title: "Create a marketing event"
method: POST
path: "/marketing/events"
tags: ["Admin Marketing: Communications"]
---

# Create a marketing event

`POST /marketing/events`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/marketing/events`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/marketing/events/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a marketing event

## Request body

- object
  - `name` string, required
  - `description` string, required
  - `date` string, required

## Response `201`

Marketing event created.

## Other responses

- `400`: Invalid input
- `422`: Validation failure.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
