Skip to main content
POST
Get subscription seats history

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
customer_id
string<uuid>
required
contract_id
string<uuid>
required
subscription_id
string<uuid>
required
limit
integer | null
default:10

Maximum number of seat schedule entries to return. Defaults to 10. Required range: 1 <= x <= 10.

cursor
string | null

Cursor for pagination. Use the value from the next_page field of the previous response to retrieve the next page of results.

covering_date
string<date-time> | null

Get the seats history segment for the covering date. Cannot be used with starting_at or ending_before.

starting_at
string<date-time> | null

Include seats history segments that are active at or after this timestamp. Use with ending_before to get a specific time range. If not set, there's no lower bound.

ending_before
string<date-time> | null

Include seats history segments that are active at or before this timestamp. Use with starting_at to get a specific time range. If not set, there's no upper bound.

Response

Success

data
object[]
required
next_page
string | null
required

Cursor for the next page of results