Sandbox API
Act out what marketplaces and our team do to a sale or a listing, and empty the sandbox. Test keys only.
These endpoints exist for test keys only; a live key gets 403 test_only. Test mode and the sandbox explains what the sandbox is.
| Endpoint | What it does | Permission |
|---|---|---|
POST /v1/sandbox/sales | Simulate a sale | listings:write, test keys only |
POST /v1/sandbox/sales/{id}/advance | Move a simulated sale on | listings:write, test keys only |
POST /v1/sandbox/listings/{id}/require-choice | Make a marketplace wait for a choice | listings:write, test keys only |
POST /v1/sandbox/reset | Reset the sandbox | listings:write, test keys only |
Simulate a sale
POST/v1/sandbox/sales
Acts out a sale on one of your sandbox listings, as a marketplace would report it. The listing has to be on sale.
Test endpoints for webhooks get the event a real sale would send.
- Permission
listings:write: change listings- Mode
- Sandbox only. A live key gets
403 test_only. - Idempotency-Key
- Recommended, so the request is safe to send again. See Safe retries.
Body
| Field | Type | Description |
|---|---|---|
listing_idrequired | string (id) | A sandbox listing of yours that is on sale. |
quantityoptional | integer, 1 to 50 | How many tickets sell. Left out: all that are available. |
marketplace_idoptional | string (id) | The marketplace the sale is made on, one of the listing’s. Left out: its first. |
Returns
Answers 201 with the Sale object.
Errors
| Status | Code | What it means |
|---|---|---|
403 | test_only | This endpoint belongs to the sandbox and takes test keys only. |
404 | not_found | Nothing with this id belongs to the account. Something that never existed, was deleted or is someone else’s answers the same. |
409 | conflict | The request cannot be carried out in the state things are in. The message says why. |
409 | sandbox_full | The sandbox of this account is full. Reset it to go on. |
Like every endpoint, it can also answer with 401 unauthorized, 403 account_unavailable, 403 api_not_enabled, 403 insufficient_scope, 403 kyc_required, 400 invalid_request, 422 validation_failed, 429 rate_limited, 500 internal_error, 503 api_suspended, 400 invalid_json, 413 payload_too_large and 415 unsupported_media_type.
Example
curl -X POST "https://www.syncseats.com/api/v1/sandbox/sales" \
-H "Authorization: Bearer ssapi_test_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sandbox-sale-48211" \
-d '{
"listing_id": "671f3a9c2b7d4e0f1ae48211",
"quantity": 2,
"marketplace_id": "66a0c41e7b2d9f3a10c5e801"
}'const response = await fetch('https://www.syncseats.com/api/v1/sandbox/sales', {
method: 'POST',
headers: {
Authorization: 'Bearer ssapi_test_...',
'Content-Type': 'application/json',
'Idempotency-Key': 'sandbox-sale-48211',
},
body: JSON.stringify({
listing_id: '671f3a9c2b7d4e0f1ae48211',
quantity: 2,
marketplace_id: '66a0c41e7b2d9f3a10c5e801',
}),
})
const data = await response.json()
console.log(response.status, data)import requests
response = requests.post(
"https://www.syncseats.com/api/v1/sandbox/sales",
headers={
"Authorization": "Bearer ssapi_test_...",
"Idempotency-Key": "sandbox-sale-48211",
},
json={
"listing_id": "671f3a9c2b7d4e0f1ae48211",
"quantity": 2,
"marketplace_id": "66a0c41e7b2d9f3a10c5e801",
},
)
print(response.status_code, response.json()){
"object": "sale",
"id": "1761470400000123",
"listing_id": "671f3a9c2b7d4e0f1ae48211",
"listing_reference": "48211",
"status": "awaiting_delivery",
"marketplace": {
"id": "66a0c41e7b2d9f3a10c5e801",
"name": "Viagogo"
},
"event": {
"id": "6718d2f4a9c3b17e5d204a61",
"name": "World Tour 2026, Night 2",
"venue": "Wembley Stadium",
"starts_at": "2026-12-12T19:30:00.000Z",
"starts_at_local": "2026-12-12T19:30:00",
"timezone": "Europe/London"
},
"section": "112",
"row": "F",
"seats": ["14", "15"],
"quantity": 2,
"ticket_type": "eticket",
"price": { "amount": "824.00", "currency": "USD" },
"fees": {
"marketplace": {
"amount": { "amount": "41.20", "currency": "USD" },
"percent": 5
},
"syncseats": {
"amount": { "amount": "39.14", "currency": "USD" },
"percent": 5
}
},
"payout": {
"amount": { "amount": "743.66", "currency": "USD" },
"amount_eur": null,
"status": "awaiting_marketplace",
"payout_id": null,
"ready_at": null,
"paid_at": null
},
"deliver_by": "2026-12-09T19:30:00.000Z",
"in_hand_by": "2026-12-10T19:30:00.000Z",
"sold_at": "2026-11-11T11:48:12.000Z",
"delivered_at": null,
"cancelled_at": null,
"cancellation": null,
"charges": [],
"delivery": null
}Move a simulated sale on
POST/v1/sandbox/sales/{id}/advance
Acts out what happens to a sale after it is made: the proof of delivery, its confirmation, a cancellation, the payment of the marketplace, the payout. To hand a delivery in yourself, as your software will live, use POST /v1/sales/{id}/delivery/uploads and POST /v1/sales/{id}/delivery instead of the first step.
- Permission
listings:write: change listings- Mode
- Sandbox only. A live key gets
403 test_only. - Idempotency-Key
- Recommended, so the request is safe to send again. See Safe retries.
Path parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | string (sale id) | The id of the sale: its invoice number. |
Body
| Field | Type | Description |
|---|---|---|
torequired | string | The step to act out. One of proof_submitted, delivered, cancelled, marketplace_paid or paid_out. |
chargeoptional | object | Only with cancelled: a penalty for the cancellation. |
charge.required | Money in a request | The penalty, in USD. |
charge.required | string, 1 to 200 characters |
Returns
Answers 200 with the Sale object.
Errors
| Status | Code | What it means |
|---|---|---|
403 | test_only | This endpoint belongs to the sandbox and takes test keys only. |
404 | not_found | Nothing with this id belongs to the account. Something that never existed, was deleted or is someone else’s answers the same. |
409 | conflict | The request cannot be carried out in the state things are in. The message says why. |
409 | sandbox_full | The sandbox of this account is full. Reset it to go on. |
Like every endpoint, it can also answer with 401 unauthorized, 403 account_unavailable, 403 api_not_enabled, 403 insufficient_scope, 403 kyc_required, 400 invalid_request, 422 validation_failed, 429 rate_limited, 500 internal_error, 503 api_suspended, 400 invalid_json, 413 payload_too_large and 415 unsupported_media_type.
Example
curl -X POST "https://www.syncseats.com/api/v1/sandbox/sales/1761470400000123/advance" \
-H "Authorization: Bearer ssapi_test_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sandbox-sale-48211-delivered" \
-d '{ "to": "delivered" }'const response = await fetch('https://www.syncseats.com/api/v1/sandbox/sales/1761470400000123/advance', {
method: 'POST',
headers: {
Authorization: 'Bearer ssapi_test_...',
'Content-Type': 'application/json',
'Idempotency-Key': 'sandbox-sale-48211-delivered',
},
body: JSON.stringify({ to: 'delivered' }),
})
const data = await response.json()
console.log(response.status, data)import requests
response = requests.post(
"https://www.syncseats.com/api/v1/sandbox/sales/1761470400000123/advance",
headers={
"Authorization": "Bearer ssapi_test_...",
"Idempotency-Key": "sandbox-sale-48211-delivered",
},
json={"to": "delivered"},
)
print(response.status_code, response.json()){
"object": "sale",
"id": "1761470400000123",
"listing_id": "671f3a9c2b7d4e0f1ae48211",
"listing_reference": "48211",
"status": "delivered",
"marketplace": {
"id": "66a0c41e7b2d9f3a10c5e801",
"name": "Viagogo"
},
"event": {
"id": "6718d2f4a9c3b17e5d204a61",
"name": "World Tour 2026, Night 2",
"venue": "Wembley Stadium",
"starts_at": "2026-12-12T19:30:00.000Z",
"starts_at_local": "2026-12-12T19:30:00",
"timezone": "Europe/London"
},
"section": "112",
"row": "F",
"seats": ["14", "15"],
"quantity": 2,
"ticket_type": "eticket",
"price": { "amount": "824.00", "currency": "USD" },
"fees": {
"marketplace": {
"amount": { "amount": "41.20", "currency": "USD" },
"percent": 5
},
"syncseats": {
"amount": { "amount": "39.14", "currency": "USD" },
"percent": 5
}
},
"payout": {
"amount": { "amount": "743.66", "currency": "USD" },
"amount_eur": null,
"status": "awaiting_marketplace",
"payout_id": null,
"ready_at": null,
"paid_at": null
},
"deliver_by": "2026-12-09T19:30:00.000Z",
"in_hand_by": "2026-12-10T19:30:00.000Z",
"sold_at": "2026-11-11T11:48:12.000Z",
"delivered_at": "2026-11-11T14:19:05.000Z",
"cancelled_at": null,
"cancellation": null,
"charges": [],
"delivery": {
"method": "transfer_proof",
"files": [
{
"name": "proof-1761470400000123.png",
"content_type": "image/png",
"size": 182344
}
],
"links": 0,
"submitted_at": "2026-11-11T14:02:33.000Z",
"via": "api"
}
}Make a marketplace wait for a choice
POST/v1/sandbox/listings/{id}/require-choice
Makes a marketplace of one of your sandbox listings wait for a choice, with fixed example options, so your software can practise reading action and answering it with POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice. The listing has to be on sale.
Test endpoints for webhooks get listing.action_required. Test mode and the sandbox lists the options.
- Permission
listings:write: change listings- Mode
- Sandbox only. A live key gets
403 test_only. - Idempotency-Key
- Recommended, so the request is safe to send again. See Safe retries.
- ETag
- The answer carries the listing’s
versionin this header too.
Path parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | string (id) | The id of the listing. |
Body
| Field | Type | Description |
|---|---|---|
marketplace_idrequired | string (id) | One of the listing’s marketplaces. |
kindrequired | string | The choice the marketplace is to wait for. The options are fixed examples. One of fan_section, category or seating. |
Returns
Answers 200 with the Listing object.
Errors
| Status | Code | What it means |
|---|---|---|
403 | test_only | This endpoint belongs to the sandbox and takes test keys only. |
404 | not_found | Nothing with this id belongs to the account. Something that never existed, was deleted or is someone else’s answers the same. |
409 | conflict | The request cannot be carried out in the state things are in. The message says why. |
Like every endpoint, it can also answer with 401 unauthorized, 403 account_unavailable, 403 api_not_enabled, 403 insufficient_scope, 403 kyc_required, 400 invalid_request, 422 validation_failed, 429 rate_limited, 500 internal_error, 503 api_suspended, 400 invalid_json, 413 payload_too_large and 415 unsupported_media_type.
Example
curl -X POST "https://www.syncseats.com/api/v1/sandbox/listings/671f3a9c2b7d4e0f1ae48211/require-choice" \
-H "Authorization: Bearer ssapi_test_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sandbox-48211-require-category" \
-d '{
"marketplace_id": "66a0c41e7b2d9f3a10c5e803",
"kind": "category"
}'const response = await fetch('https://www.syncseats.com/api/v1/sandbox/listings/671f3a9c2b7d4e0f1ae48211/require-choice', {
method: 'POST',
headers: {
Authorization: 'Bearer ssapi_test_...',
'Content-Type': 'application/json',
'Idempotency-Key': 'sandbox-48211-require-category',
},
body: JSON.stringify({
marketplace_id: '66a0c41e7b2d9f3a10c5e803',
kind: 'category',
}),
})
const data = await response.json()
console.log(response.status, data)import requests
response = requests.post(
"https://www.syncseats.com/api/v1/sandbox/listings/671f3a9c2b7d4e0f1ae48211/require-choice",
headers={
"Authorization": "Bearer ssapi_test_...",
"Idempotency-Key": "sandbox-48211-require-category",
},
json={
"marketplace_id": "66a0c41e7b2d9f3a10c5e803",
"kind": "category",
},
)
print(response.status_code, response.json()){
"object": "listing",
"id": "671f3a9c2b7d4e0f1ae48211",
"status": "live",
"on_sale": true,
"version": "q3ZkT8mVx1LpR7aD",
"event": {
"id": "6718d2f4a9c3b17e5d204a61",
"name": "World Tour 2026, Night 2",
"venue": "Wembley Stadium",
"starts_at": "2026-12-12T19:30:00.000Z",
"starts_at_local": "2026-12-12T19:30:00",
"timezone": "Europe/London"
},
"section": "112",
"row": "F",
"general_admission": false,
"seats": ["14", "15"],
"quantity": 2,
"available_quantity": 2,
"sold_quantity": 0,
"reserved_quantity": 0,
"sold_seats": [],
"ticket_type": "eticket",
"split": "any",
"price_per_ticket": { "amount": "412.00", "currency": "USD" },
"face_value": { "amount": "195.00", "currency": "USD" },
"cost_per_ticket": { "amount": "280.00", "currency": "USD" },
"restriction": null,
"view": null,
"extras": [],
"reference": "48211",
"internal_note": null,
"proof_of_purchase_files": 1,
"marketplaces": [
{
"id": "66a0c41e7b2d9f3a10c5e801",
"name": "Viagogo",
"status": "live",
"price_per_ticket": { "amount": "412.00", "currency": "USD" },
"own_price": false,
"commission_percent": 5,
"url": null,
"action": null
},
{
"id": "66a0c41e7b2d9f3a10c5e802",
"name": "StubHub",
"status": "live",
"price_per_ticket": { "amount": "412.00", "currency": "USD" },
"own_price": false,
"commission_percent": 5,
"url": null,
"action": null
},
{
"id": "66a0c41e7b2d9f3a10c5e803",
"name": "SeatGeek",
"status": "needs_action",
"price_per_ticket": { "amount": "412.00", "currency": "USD" },
"own_price": false,
"commission_percent": 5,
"url": null,
"action": {
"kind": "category",
"options": [
{ "id": "Category 1", "label": "Category 1" },
{ "id": "Category 2", "label": "Category 2" },
{ "id": "Category 3", "label": "Category 3" }
]
}
}
],
"needs_action": true,
"source": "api",
"created_at": "2026-11-11T09:26:41.000Z",
"updated_at": "2026-11-11T09:41:18.000Z"
}Reset the sandbox
POST/v1/sandbox/reset
Deletes every listing, sale, payout, charge and inventory entry of your sandbox, and the uploads of its deliveries and proofs of purchase, for a clean start.
- Permission
listings:write: change listings- Mode
- Sandbox only. A live key gets
403 test_only. - Idempotency-Key
- Recommended, so the request is safe to send again. See Safe retries.
Returns
Answers 200 with a sandbox reset object:
| Field | Type | Description |
|---|---|---|
object | string | Always sandbox_reset. |
deleted | object | |
deleted. | integer | |
deleted. | integer | |
deleted. | integer | |
deleted. | integer | |
deleted. | integer | Entries of the inventory, with their sales. |
Errors
| Status | Code | What it means |
|---|---|---|
403 | test_only | This endpoint belongs to the sandbox and takes test keys only. |
Like every endpoint, it can also answer with 401 unauthorized, 403 account_unavailable, 403 api_not_enabled, 403 insufficient_scope, 403 kyc_required, 400 invalid_request, 422 validation_failed, 429 rate_limited, 500 internal_error and 503 api_suspended.
Example
curl -X POST "https://www.syncseats.com/api/v1/sandbox/reset" \
-H "Authorization: Bearer ssapi_test_..." \
-H "Idempotency-Key: sandbox-reset-1"const response = await fetch('https://www.syncseats.com/api/v1/sandbox/reset', {
method: 'POST',
headers: {
Authorization: 'Bearer ssapi_test_...',
'Idempotency-Key': 'sandbox-reset-1',
},
})
const data = await response.json()
console.log(response.status, data)import requests
response = requests.post(
"https://www.syncseats.com/api/v1/sandbox/reset",
headers={
"Authorization": "Bearer ssapi_test_...",
"Idempotency-Key": "sandbox-reset-1",
},
)
print(response.status_code, response.json()){
"object": "sandbox_reset",
"deleted": {
"listings": 3,
"sales": 2,
"payouts": 1,
"charges": 1,
"inventory_items": 1
}
}