---
title: "Create Event"
method: POST
path: "/v1/{workspace}/event/"
---

# Create Event

`POST /v1/{workspace}/event/`

Add events and their linked schemas in SuprSend

## Path parameters

- `workspace` string, required

## Request body

- object
  - `name` string, required — Unique Identifier of the Event.
  - `description` string — Description of the event. Can be used to describe which action this event is linked to.
  - `payload_schema` object
    - `schema` string, required — Linked schema slug to validate event properties structure. You can create a schema via [Create Schema](/reference/create-schema) endpoint and then link it here.
    - `version_no` integer — Schema version number to link. By default, live version is always picked for validation.

## Response `200`

Updated event details

- object

## Other responses

- `400` — Invalid event format
- `401` — Authentication failed

---

[API](https://skmtc.net/suprsend/apis/suprsend-api.md) · [All operations](https://skmtc.net/suprsend/apis/suprsend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/suprsend/suprsend-api/versions/8bd2574bd2c3/schema)
