POST
/
seat-snapshots
curl --request POST \
  --url https://eu.sequencehq.com/api/seat-snapshots \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerSnapshotId": "event-id-H4twuTWpYx1rkd8OMTki2hTUcZ",
  "customerAlias": "customer-id-2H4u5BBwBWsS5V2sroRFqJfTXpW",
  "seatType": "admin",
  "snapshotTimestamp": "2022-10-01T00:00:00Z",
  "total": 1,
  "seatChanges": [
    {
      "externalId": "joe.bloggs@example.com",
      "timestamp": "2022-10-01T00:00:00Z",
      "description": "Joe Bloggs",
      "reason": "seat manually added",
      "changeType": "SEAT_ADDED"
    }
  ]
}'
{
  "id": "0184421a-8202-70ea-a729-30308a40bbf7",
  "customerSnapshotId": "event-id-H4twuTWpYx1rkd8OMTki2hTUcZ",
  "customerAlias": "customer-id-2H4u5BBwBWsS5V2sroRFqJfTXpW",
  "seatType": "admin",
  "sequenceAccountId": "0184421e-a9cc-711b-af93-bf0511d4d833",
  "snapshotTimestamp": "2022-10-01T00:00:00Z",
  "total": 1,
  "seatChanges": [
    {
      "id": "e1c7775d-b546-440f-a1e6-9cfd792355b5",
      "seatSnapshotId": "0184421a-8202-70ea-a729-30308a40bbf7",
      "externalId": "joe.bloggs@example.com",
      "timestamp": "2022-10-01T00:00:00Z",
      "description": "Joe Bloggs",
      "reason": "seat manually added",
      "changeType": "SEAT_ADDED"
    }
  ]
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Body

application/json
customerSnapshotId
string

ID provided by customer. Another snapshot with the same customer snapshot ID will supersede this one.

customerAlias
string
required

End-customer alias

seatType
string
required

Seat type

snapshotTimestamp
string
required

Timestamp of snapshot

total
integer
required

Total seats for this seat type

seatChanges
object[]
required

List of seat changes

Response

201 - application/json
id
string
required

id

customerSnapshotId
string
required

ID provided by customer. Another snapshot with the same customer snapshot ID will supersede this one.

customerAlias
string
required

End-customer alias

seatType
string
required

Seat type

sequenceAccountId
string
required

sequenceAccountId

snapshotTimestamp
string
required

Timestamp of snapshot

total
integer
required

Total seats for this seat type

seatChanges
object[]
required

List of seat changes