---
title: "Create a seat event"
method: POST
path: "/seat-events"
tags: ["Seat Events"]
---

# Create a seat event

`POST /seat-events`

Create a new seat event. Seat events are used for calculating charges.

## Headers

- `Authorization` string, required
- `Sequence-Version` '2024-07-30'

## Request body

- CreateSeatEventEndpointCreateSeatEventRequestModel
  - `customerEventId` string, nullable — Unique ID provided by customer. Another event with the same customer event ID will supersede this one.
  - `customerAlias` string, required — End-customer alias or ID.
  - `seatType` string, required — Seat type. This can be referenced from a seat metric.
  - `eventTimestamp` string, required — Event timestamp, in ISO 8601 format.
  - `total` integer, required — Total seats consumed for this seat type.

## Response `201`

Created

- CreateSeatEventEndpointProductCreateSeatEventResponseModel
  - `id` string, required — Unique ID for this seat event.
  - `customerEventId` string, required — Unique ID provided by customer. Another event with the same customer event ID will supersede this one.
  - `customerAlias` string, required — End-customer alias or ID.
  - `seatType` string, required — Seat type. This can be referenced from a seat metric.
  - `sequenceAccountId` string, required — Unique Sequence account ID.
  - `eventTimestamp` string, required — Event timestamp, in ISO 8601 format.
  - `total` integer, required — Total seats consumed for this seat type.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

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