---
title: "Create a seat metric"
method: POST
path: "/seat-metrics"
tags: ["Seat Metrics"]
---

# Create a seat metric

`POST /seat-metrics`

Create a new seat metric which can be used in prices.

## Headers

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

## Request body

- CreateSeatMetricRequest
  - `seatType` string, required — E.g. `admin_user`. An immutable, unique value used to identify and refer to this seat type. It should be lower snakecase
  - `description` string, nullable — Optional description for this seat metric.
  - `label` string, required — Friendly, customer-facing name for this seat metric.

## Response `201`

Created

- SeatMetric
  - `id` string, required — Unique ID for this seat metric.
  - `seatType` string, required — Immutable, unique value used to identify and refer to this seat type when submitting events.
  - `createdBy` string, nullable — The ID of the Sequence user who created this seat metric.
  - `label` string, required — Friendly, customer-facing name for this seat metric.
  - `description` string, nullable — Optional description for this seat metric.
  - `createdAt` string, required — The time at which this seat metric was created. Formatted as an ISO 8601 timestamp.
  - `updatedAt` string, required — The time at which this seat metric was updated. Formatted as an ISO 8601 timestamp.

## Other responses

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

---

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