Dry-run the venue's layout and seat-key rules
POST https://connect.seatpreevue.com/v1/manage/venues/{venueId}/seat-keys/test
Operation testSeatKeys · Management
Authentication: a secret key (sk_live_…). See Authentication.
Runs the venue's layout and seat-key rules on sample seats, without a session: which set a context would choose, and the key each seat would get.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
venueId |
path | string matching ^ven_[A-Za-z0-9]{12,}$ |
yes |
Request body
application/json: object
| Field | Type | Required | Description |
|---|---|---|---|
context |
SessionContext | What your page or platform knows. venueRef is matched against the venues' references for platform, within the venues your key may use; then the venue's layout rules are evaluated over the other facts. With no context, the key's single venue is used. |
|
seats |
array of SeatRef | yes |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Results with candidate traces | object |
| 401 | Missing, unknown or revoked key | Problem |
| 403 | Origin, venue, scope or key type not permitted | Problem |
| 404 | Not found | Problem |