Sandbox API

Act out what marketplaces and our team do to a sale or a listing, and empty the sandbox. Test keys only.

Download all as MarkdownOpenAPI

These endpoints exist for test keys only; a live key gets 403 test_only. Test mode and the sandbox explains what the sandbox is.

EndpointWhat it doesPermission
POST /v1/sandbox/salesSimulate a salelistings:write, test keys only
POST /v1/sandbox/sales/{id}/advanceMove a simulated sale onlistings:write, test keys only
POST /v1/sandbox/listings/{id}/require-choiceMake a marketplace wait for a choicelistings:write, test keys only
POST /v1/sandbox/resetReset the sandboxlistings: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

FieldTypeDescription
listing_idrequiredstring (id)A sandbox listing of yours that is on sale.
quantityoptionalinteger, 1 to 50How many tickets sell. Left out: all that are available.
marketplace_idoptionalstring (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

StatusCodeWhat it means
403test_onlyThis endpoint belongs to the sandbox and takes test keys only.
404not_foundNothing with this id belongs to the account. Something that never existed, was deleted or is someone else’s answers the same.
409conflictThe request cannot be carried out in the state things are in. The message says why.
409sandbox_fullThe 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

Request
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"
	}'
Response, 201
{
	"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

ParameterTypeDescription
idrequiredstring (sale id)The id of the sale: its invoice number.

Body

FieldTypeDescription
torequiredstringThe step to act out. One of proof_submitted, delivered, cancelled, marketplace_paid or paid_out.
chargeoptionalobjectOnly with cancelled: a penalty for the cancellation.
charge.amountrequiredMoney in a requestThe penalty, in USD.
charge.reasonrequiredstring, 1 to 200 characters

Returns

Answers 200 with the Sale object.

Errors

StatusCodeWhat it means
403test_onlyThis endpoint belongs to the sandbox and takes test keys only.
404not_foundNothing with this id belongs to the account. Something that never existed, was deleted or is someone else’s answers the same.
409conflictThe request cannot be carried out in the state things are in. The message says why.
409sandbox_fullThe 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

Request
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" }'
Response, 200
{
	"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 version in this header too.

Path parameters

ParameterTypeDescription
idrequiredstring (id)The id of the listing.

Body

FieldTypeDescription
marketplace_idrequiredstring (id)One of the listing’s marketplaces.
kindrequiredstringThe 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

StatusCodeWhat it means
403test_onlyThis endpoint belongs to the sandbox and takes test keys only.
404not_foundNothing with this id belongs to the account. Something that never existed, was deleted or is someone else’s answers the same.
409conflictThe 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

Request
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"
	}'
Response, 200
{
	"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:

FieldTypeDescription
objectstringAlways sandbox_reset.
deletedobject
deleted.listingsinteger
deleted.salesinteger
deleted.payoutsinteger
deleted.chargesinteger
deleted.inventory_itemsintegerEntries of the inventory, with their sales.

Errors

StatusCodeWhat it means
403test_onlyThis 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

Request
curl -X POST "https://www.syncseats.com/api/v1/sandbox/reset" \
	-H "Authorization: Bearer ssapi_test_..." \
	-H "Idempotency-Key: sandbox-reset-1"
Response, 200
{
	"object": "sandbox_reset",
	"deleted": {
		"listings": 3,
		"sales": 2,
		"payouts": 1,
		"charges": 1,
		"inventory_items": 1
	}
}