POST
/
seat-events
curl --request POST \
  --url https://eu.sequencehq.com/api/seat-events \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerEventId": "event-id-H4twuTWpYx1rkd8OMTki2hTUcZ",
  "customerAlias": "customer-id-2H4u5BBwBWsS5V2sroRFqJfTXpW",
  "seatType": "admin",
  "eventTimestamp": "2022-10-01T00:00:00Z",
  "total": 1
}'
{
  "id": "0184421a-8202-70ea-a729-30308a40bbf7",
  "customerEventId": "event-id-H4twuTWpYx1rkd8OMTki2hTUcZ",
  "customerAlias": "customer-id-2H4u5BBwBWsS5V2sroRFqJfTXpW",
  "seatType": "admin",
  "sequenceAccountId": "0184421e-a9cc-711b-af93-bf0511d4d833",
  "eventTimestamp": "2022-10-01T00:00:00Z",
  "total": 1
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Body

application/json
customerEventId
string

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 - application/json
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.