---
title: "Submit an event"
method: POST
path: "/epos/events"
tags: ["Events"]
---

# Submit an event

`POST /epos/events`

## Request

- Base URL: `https://api.dojo.tech`
- URL: `https://api.dojo.tech/epos/events`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/dojo/apis/dojo-api/docs/epos/events/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- EventRequest
  - `eventType` string, required: OrderUpdated, PartyUpdated, ReservationUpdated
  - `event` union, required
    - OrderEvent
      - `orderId` string, required
    - PartyEvent
      - `partyId` string, required: The EPOS-internal ID of the updated Party.
    - ReservationEvent
      - `reservationId` string, required: The EPOS-internal ID of the updated Reservation.

## Response `200`

- EventRequest
  - `eventType` string, required: OrderUpdated, PartyUpdated, ReservationUpdated
  - `event` union, required
    - OrderEvent
      - `orderId` string, required
    - PartyEvent
      - `partyId` string, required: The EPOS-internal ID of the updated Party.
    - ReservationEvent
      - `reservationId` string, required: The EPOS-internal ID of the updated Reservation.

---

[API](https://skmtc.dev/dojo/apis/dojo-api.md) - [All operations](https://skmtc.dev/dojo/apis/dojo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dojo/apis/dojo-api/revisions/29fc8900ba37?raw)
