# SyncSeats Seller API

> The whole documentation of the SyncSeats Seller API (version v1) in one file, written to be given to a language model or a coding assistant. It holds every guide, every endpoint with its parameters, fields, errors and an example, and every limit. It is generated from the code the API runs on.

- Base address of the API: `https://www.syncseats.com/api/v1`
- Documentation: https://www.syncseats.com/developers/docs
- OpenAPI 3.1 document: https://www.syncseats.com/api/v1/openapi.json
- This file: https://www.syncseats.com/developers/llms-full.md

Paths are written from the version on: `GET /v1/me` is a request to the base address plus the path after `/v1`. The data in the examples is made up, and the same story runs through all of them.

## Contents

- Getting started: Seller API documentation, Quick start
- Concepts: Authentication and permissions, Test mode and the sandbox, Conventions, Errors, Rate limits, Safe retries, Versions and If-Match, Working with listings, Sales and money, Working with the inventory
- API reference: Account API, Events and marketplaces API, Listings API, Sales and charges API, Balance and payouts API, Inventory API, Sandbox API
- Webhooks: Webhooks
- Quick reference: every endpoint, every error code, the limits of requests, of a delivery, of a proof of purchase and of an inventory entry, the event types

## Seller API documentation

A REST API for your own software: create and reprice listings, read sales with their fees and payouts, and get a webhook when something happens on your account.

### What the API is for

The Seller API lets your own software work on your SyncSeats account: a point of sale, a repricer, a script. For listings it does what you do in the dashboard, and it hands in the delivery of a sale as the dashboard does. Sales and payouts it reads as the dashboard shows them, and it records your purchases in the inventory as the Inventory page does.

- Search the event catalog and create listings, one ticket group or many in one request, with seats or as standing tickets, and with a proof of purchase for the marketplaces that ask for one.
- Change prices, the face value and seats, take listings off sale, put them back on sale, delete them.
- Answer the choices a marketplace asks for before it takes a listing, such as a fan section or a category.
- Read sales with their fees, payout amounts, delivery deadlines and charges, and hand in their delivery with the files that show it.
- Read your balance and your payouts, with the sales each payout covers.
- Keep your inventory: record ticket purchases and the sales you make elsewhere, and read what each purchase and listing cost and earned, in USD, EUR or GBP.
- Receive signed webhooks for the events SyncSeats also tells you about by email or Discord.
- Try all of it with a test key, in a sandbox that reaches nothing real.

### Where it lives

Every endpoint lives under one base address:

Base address:

```text
https://www.syncseats.com/api/v1
```

Requests and answers are JSON. A key in the `Authorization` header says whose account a request is for, and whether it works on the account or on its sandbox. You create keys in the dashboard under [Settings, Developers](https://www.syncseats.com/app/settings/developers).

The documentation writes paths from the version on: `GET /v1/me` is a `GET` to the base address plus `/me`.

### Where to start

| Page | What it covers |
| --- | --- |
| [Quick start](https://www.syncseats.com/developers/docs/quick-start) | From a test key to a sale in the sandbox, request by request, and what changes when you go live. |
| [Authentication and permissions](https://www.syncseats.com/developers/docs/authentication) | API keys, the header they travel in, what each permission allows, and what no key can do. |
| [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode) | What a test key works on, what is real and what is acted out, and the endpoints that simulate sales and the choices of a marketplace. |
| [Conventions](https://www.syncseats.com/developers/docs/conventions) | The rules every endpoint shares: the base address, JSON, ids, money, time, lists and the headers of every answer. |
| [Errors](https://www.syncseats.com/developers/docs/errors) | The shape of every refusal, every error code with its status, and what to do about each kind. |
| [Rate limits](https://www.syncseats.com/developers/docs/rate-limits) | How many requests a key and an account may send, the headers that say where you stand, and what to do at the limit. |
| [Safe retries](https://www.syncseats.com/developers/docs/safe-retries) | Send an Idempotency-Key with every change, and a request that is sent twice still runs only once. |
| [Versions and If-Match](https://www.syncseats.com/developers/docs/versions) | Every listing carries a version. Send it back with a change, and the change only happens if the listing is still what you read. |
| [Working with listings](https://www.syncseats.com/developers/docs/working-with-listings) | Create listings for seated or standing tickets, with a proof of purchase where a marketplace asks for one, change them, and take them off sale. |
| [Sales and money](https://www.syncseats.com/developers/docs/sales-and-money) | Read sales with their fees and deadlines, hand in their delivery, and follow the money from the marketplace to your bank account. |
| [Working with the inventory](https://www.syncseats.com/developers/docs/working-with-inventory) | Your ticket purchases with what they cost and earned, the entries of your listings, and the sales you make outside SyncSeats. |
| [Webhooks](https://www.syncseats.com/developers/docs/webhooks) | SyncSeats sends signed events to your server when something happens on your account: a sale, a delivery, a payout, a change to a listing. |

### Every endpoint

The API has 35 endpoints in 7 groups. Each group has a reference page with the parameters, fields, errors and an example of every endpoint.

| Page | What it covers |
| --- | --- |
| [Account](https://www.syncseats.com/developers/docs/api-account) | The key a request was sent with: its mode, what it may do and its limits. |
| [Events and marketplaces](https://www.syncseats.com/developers/docs/api-catalog) | What a listing is built from: the events of the catalog, your marketplaces and the ids of the listing options. |
| [Listings](https://www.syncseats.com/developers/docs/api-listings) | Create listings, read them, change them, answer what a marketplace asks, put them on sale, take them off sale and delete them. |
| [Sales and charges](https://www.syncseats.com/developers/docs/api-sales) | Your sales with fees, payout amounts and deadlines, the charges for them, and handing in their delivery. |
| [Balance and payouts](https://www.syncseats.com/developers/docs/api-payouts) | What your sales add up to, the payouts with the sales each one covers, and payment requests. |
| [Inventory](https://www.syncseats.com/developers/docs/api-inventory) | Your ticket purchases with what they cost and what they sold for, and the sales you make outside SyncSeats. |
| [Sandbox](https://www.syncseats.com/developers/docs/api-sandbox) | Act out what marketplaces and our team do to a sale or a listing, and empty the sandbox. Test keys only. |

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me) | The key in use | Any valid key |
| [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events) | Search events | Any valid key |
| [`GET /v1/events/{id}`](https://www.syncseats.com/developers/docs/api-catalog#get-event) | Get an event | Any valid key |
| [`GET /v1/marketplaces`](https://www.syncseats.com/developers/docs/api-catalog#list-marketplaces) | List marketplaces | Any valid key |
| [`GET /v1/listing-options`](https://www.syncseats.com/developers/docs/api-catalog#get-listing-options) | Listing options | Any valid key |
| [`GET /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#list-listings) | List listings | `listings:read` |
| [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) | Create listings | `listings:write` |
| [`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads) | Get upload URLs for a proof of purchase | `listings:write` |
| [`GET /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#get-listing) | Get a listing | `listings:read` |
| [`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing) | Change a listing | `listings:write` |
| [`DELETE /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#delete-listing) | Delete a listing | `listings:write` |
| [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) | Put a listing on sale | `listings:write` |
| [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) | Take a listing off sale | `listings:write` |
| [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option) | Answer a marketplace’s choice | `listings:write` |
| [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) | List sales | `sales:read` |
| [`GET /v1/sales/{id}`](https://www.syncseats.com/developers/docs/api-sales#get-sale) | Get a sale | `sales:read` |
| [`POST /v1/sales/{id}/delivery/uploads`](https://www.syncseats.com/developers/docs/api-sales#create-delivery-uploads) | Get upload URLs for a delivery | `sales:write` |
| [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) | Deliver a sale | `sales:write` |
| [`GET /v1/charges`](https://www.syncseats.com/developers/docs/api-sales#list-charges) | List charges | `sales:read` |
| [`GET /v1/balance`](https://www.syncseats.com/developers/docs/api-payouts#get-balance) | Get the balance | `payouts:read` |
| [`GET /v1/payouts`](https://www.syncseats.com/developers/docs/api-payouts#list-payouts) | List payouts | `payouts:read` |
| [`GET /v1/payouts/{id}`](https://www.syncseats.com/developers/docs/api-payouts#get-payout) | Get a payout | `payouts:read` |
| [`GET /v1/payment-requests`](https://www.syncseats.com/developers/docs/api-payouts#list-payment-requests) | List payment requests | `payouts:read` |
| [`GET /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#list-inventory) | List the inventory | `inventory:read` |
| [`POST /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-item) | Record a purchase | `inventory:write` |
| [`GET /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#get-inventory-item) | Get an inventory entry | `inventory:read` |
| [`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) | Change an inventory entry | `inventory:write` |
| [`DELETE /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-item) | Delete an inventory entry | `inventory:write` |
| [`POST /v1/inventory/{id}/sales`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-sale) | Record a sale outside SyncSeats | `inventory:write` |
| [`PATCH /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-sale) | Change a sale outside SyncSeats | `inventory:write` |
| [`DELETE /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-sale) | Delete a sale outside SyncSeats | `inventory:write` |
| [`POST /v1/sandbox/sales`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-create-sale) | Simulate a sale | `listings:write`, test keys only |
| [`POST /v1/sandbox/sales/{id}/advance`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-advance-sale) | Move a simulated sale on | `listings:write`, test keys only |
| [`POST /v1/sandbox/listings/{id}/require-choice`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-require-choice) | Make a marketplace wait for a choice | `listings:write`, test keys only |
| [`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-reset) | Reset the sandbox | `listings:write`, test keys only |

### What stays in the dashboard

Some things are left out of the API on purpose. You do them signed in to SyncSeats:

- Requesting a payout, and anything about bank details or tax details.
- Asking for an event the catalog does not have yet.
- Passwords, two-factor authentication and the verification of your identity.
- Creating keys and adding webhook endpoints.
- The ticket accounts your purchases were made with.
- Writing to support.

### For your AI tool and your API client

The whole documentation is also [one Markdown file](https://www.syncseats.com/developers/llms-full.md). Give it to your coding assistant, and it knows every endpoint, field and error of the API. Every page of this documentation has a button that copies that page as Markdown.

For API clients and code generators, the same API is described as an [OpenAPI 3.1 document](https://www.syncseats.com/api/v1/openapi.json).

An AI app such as Claude or ChatGPT that should work on your account in a chat connects in another way, with a sign-in in your browser instead of a key. You find that in the dashboard under Settings, Connected apps.

## Quick start

From a test key to a sale in the sandbox, request by request, and what changes when you go live.

This walk-through uses a test key. A test key works on the sandbox of your account: nothing you do reaches a marketplace, a real listing or your balance. The events and the marketplaces are the real ones, so what you build against them works with a live key too.

> **About the examples** Every example in this documentation tells the same made-up story: seller Sam Keller lists 2 tickets for World Tour 2026, Night 2 at Wembley Stadium, Section 112, Row F, Seats 14 and 15, at $412.00 each, and they sell on Viagogo. Replace `ssapi_test_...` with your own key. The curl examples are written for bash and zsh; on Windows, run them in Git Bash or WSL, or take the JavaScript or the Python version.

### 1. Create a test key

Sign in to SyncSeats and open [Settings, Developers](https://www.syncseats.com/app/settings/developers). Switch to Test, choose Create key, give the key a name and pick Read and write. That set includes `sales:write`, which step 6 needs to deliver the sale, and `inventory:read` and `inventory:write` for [the inventory](https://www.syncseats.com/developers/docs/working-with-inventory).

The key is shown once. Copy it and keep it where your software reads its secrets, for example in an environment variable. A test key starts with `ssapi_test_`.

### 2. Send your first request

[`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me) says which key you are using and what it may do. It works with every valid key.

Request:

```bash
curl "https://www.syncseats.com/api/v1/me" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "api_key",
  "id": "6740a1b2c3d4e5f601234567",
  "name": "POS sync",
  "mode": "test",
  "scopes": [
    "listings:read",
    "listings:write",
    "sales:read",
    "sales:write",
    "payouts:read",
    "inventory:read",
    "inventory:write"
  ],
  "usable_scopes": [
    "listings:read",
    "listings:write",
    "sales:read",
    "sales:write",
    "payouts:read",
    "inventory:read",
    "inventory:write"
  ],
  "expires_at": null,
  "limits": {
    "requests_per_minute": 120,
    "account_requests_per_minute": 240,
    "writes_per_minute": 60,
    "writes_per_hour": 1200
  },
  "account": {
    "identity_verified": true,
    "display_currency": "GBP"
  }
}
```

The answer says that `mode` is `test`, and so does the `SyncSeats-Mode` header of every answer. If you get `401 unauthorized` instead, check the header: it has to be `Authorization: Bearer`, a space, and the key.

`account.display_currency` is the currency your dashboard shows amounts in, `USD`, `EUR` or `GBP`; Sam’s shows `GBP`. Listings and sales are in USD whatever it says, and the inventory adds up in the currency you ask for.

### 3. Find the event

A listing belongs to an event of the SyncSeats catalog. Search for it by name, and narrow the search with a city or a date.

Request:

```bash
curl "https://www.syncseats.com/api/v1/events?q=World%20Tour%202026&city=London" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "event",
      "id": "6718d2f4a9c3b17e5d204a60",
      "name": "World Tour 2026, Night 1",
      "starts_at_local": "2026-12-11T19:30:00",
      "time_tba": false,
      "timezone": "Europe/London",
      "category": "concert",
      "subcategory": null,
      "venue": "Wembley Stadium",
      "city": "London",
      "country": "GB",
      "performers": ["Sample Artist"],
      "competition": null,
      "listable": true,
      "ready_marketplace_ids": [
        "66a0c41e7b2d9f3a10c5e801",
        "66a0c41e7b2d9f3a10c5e802",
        "66a0c41e7b2d9f3a10c5e803"
      ]
    },
    {
      "object": "event",
      "id": "6718d2f4a9c3b17e5d204a61",
      "name": "World Tour 2026, Night 2",
      "starts_at_local": "2026-12-12T19:30:00",
      "time_tba": false,
      "timezone": "Europe/London",
      "category": "concert",
      "subcategory": null,
      "venue": "Wembley Stadium",
      "city": "London",
      "country": "GB",
      "performers": ["Sample Artist"],
      "competition": null,
      "listable": true,
      "ready_marketplace_ids": [
        "66a0c41e7b2d9f3a10c5e801",
        "66a0c41e7b2d9f3a10c5e802",
        "66a0c41e7b2d9f3a10c5e803"
      ]
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

Keep the `id` of the event you want. `listable` says whether listings can be created for it, and `ready_marketplace_ids` which of your marketplaces carry the event already.

### 4. Create a listing

One listing is one ticket group: a section, a row and its seats. Send the event, the group, the price per ticket and the face value printed on the tickets.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-create" \
  -d '{
    "event_id": "6718d2f4a9c3b17e5d204a61",
    "listings": [
      {
        "section": "112",
        "row": "F",
        "seats": ["14", "15"],
        "price_per_ticket": { "amount": "412.00", "currency": "USD" },
        "face_value": { "amount": "195.00", "currency": "USD" },
        "cost_per_ticket": { "amount": "280.00", "currency": "USD" },
        "reference": "48211"
      }
    ],
    "proof_of_purchase_upload_ids": ["upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd"]
  }'
```

Response, `201`:

```json
{
  "object": "listing_batch",
  "listings": [
    {
      "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": "live",
          "price_per_ticket": { "amount": "412.00", "currency": "USD" },
          "own_price": false,
          "commission_percent": 5,
          "url": null,
          "action": null
        }
      ],
      "needs_action": false,
      "source": "api",
      "created_at": "2026-11-11T09:26:41.000Z",
      "updated_at": "2026-11-11T09:26:41.000Z"
    }
  ],
  "skipped": []
}
```

The example also names the order confirmation of the tickets, uploaded as a proof of purchase, since one of the marketplaces asks for one. For a first try, leave `proof_of_purchase_upload_ids` out: the listing then goes to none of the marketplaces that ask for one. [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) shows how to upload one.

The `Idempotency-Key` header makes the request safe to send again: if the answer gets lost on the way, repeat the request with the same key and nothing is created twice.

In the sandbox the listing is `live` at once. With a live key it starts as `queued` and goes live as its marketplaces take it in. Standing tickets without seat numbers send a quantity instead: [Working with listings](https://www.syncseats.com/developers/docs/working-with-listings#standing) shows how.

### 5. Simulate a sale

No buyer finds a sandbox listing, so you act out the sale yourself.

Request:

```bash
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`:

```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
}
```

The answer is the sale as a marketplace would report it: the price, both fees, what you receive, and the date to deliver by. It is `awaiting_delivery`, and a test webhook endpoint gets `sale.created` for it.

### 6. Deliver the sale

Once your software has transferred the tickets, it hands the delivery in with a file that shows the transfer, here a screenshot. First ask for an upload URL:

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sales/1761470400000123/delivery/uploads" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-uploads" \
  -d '{
    "files": [
      { "content_type": "image/png", "size": 182344 }
    ]
  }'
```

Response, `201`:

```json
{
  "object": "upload_batch",
  "sale_id": "1761470400000123",
  "uploads": [
    {
      "id": "upl_Qm3kV8xT1pLw7aRz5cHn0sJd",
      "upload_url": "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Qm3kV8xT1pLw7aRz5cHn0sJd.1794406390.Xr4pTq9LmV2wZc7KbN1sHd6Gf3Jy8Ue0Ao5Ri2Wk7Qz",
      "method": "PUT",
      "headers": {
        "Content-Type": "image/png",
        "Content-Length": "182344"
      },
      "content_type": "image/png",
      "size": 182344,
      "expires_at": "2026-11-11T14:13:10.000Z"
    }
  ]
}
```

Put the file to its `upload_url` with exactly the `headers` of the upload, and without your key:

Upload with curl:

```bash
curl -X PUT "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Qm3kV8xT1pLw7aRz5cHn0sJd.1794406390.Xr4pTq9LmV2wZc7KbN1sHd6Gf3Jy8Ue0Ao5Ri2Wk7Qz" \
  -H "Content-Type: image/png" \
  -H "Content-Length: 182344" \
  --data-binary @transfer-48211.png
```

Then hand the delivery in with the `id` of the upload:

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sales/1761470400000123/delivery" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-delivery" \
  -d '{
    "method": "transfer_proof",
    "upload_ids": ["upl_Qm3kV8xT1pLw7aRz5cHn0sJd"]
  }'
```

The sale is `awaiting_confirmation` now, with what you handed in under `delivery`, and a test endpoint gets `sale.proof_submitted`. [Deliver a sale](https://www.syncseats.com/developers/docs/sales-and-money#deliver) explains the methods, links for the buyer and what is refused.

### 7. Move the sale on and read it

After the delivery, our team confirms it, the marketplace pays, and you request a payout in the dashboard. In the sandbox you act these out with [`POST /v1/sandbox/sales/{id}/advance`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-advance-sale):

| Step | What it acts out |
| --- | --- |
| `proof_submitted` | A proof of delivery is uploaded; the sale waits for confirmation, and its `delivery` shows `via: syncseats`. Sends `sale.proof_submitted`. |
| `delivered` | Our team confirms the delivery. Sends `sale.delivered`. |
| `cancelled` | The sale is cancelled, with a charge if `charge` is set. Sends `sale.cancelled`. |
| `marketplace_paid` | The marketplace pays for the sale; it becomes ready for a payout. Sends `sale.payout_ready`. |
| `paid_out` | A payout with every ready sale is created and sent. Sends `payout.paid`. |

Request:

```bash
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" }'
```

For the rest of the way, send `delivered`, `marketplace_paid` and `paid_out`, one after the other. `proof_submitted` acts out a delivery without an upload, for when you do not need step 6. Then read the sale:

Request:

```bash
curl "https://www.syncseats.com/api/v1/sales/1761470400000123" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```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": { "amount": "639.55", "currency": "EUR" },
    "status": "paid",
    "payout_id": "PR-2026-0284",
    "ready_at": "2026-11-13T10:05:22.000Z",
    "paid_at": "2026-11-16T08:31:07.000Z"
  },
  "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"
  }
}
```

The sale is delivered and paid out, and `payout.payout_id` names the payout that covered it. [`GET /v1/payouts/{id}`](https://www.syncseats.com/developers/docs/api-payouts#get-payout) shows that payout with its deductions and its sales.

### 8. Go live

The same code works on your real account once it has a live key. What changes:

- Create a live key under [Settings, Developers](https://www.syncseats.com/app/settings/developers). It asks for the code of your authenticator app, and SyncSeats sends you a security email.
- A live key you created before `sales:write`, `inventory:read` and `inventory:write` existed cannot deliver sales or reach your inventory. Create a new one with Read and write.
- Changing listings and delivering sales with a live key needs a verified identity on SyncSeats. Reading works without.
- Swap the key. The endpoints, the fields and the ids of events and marketplaces stay the same.
- Expect `queued` before `live`: a live listing goes out to its marketplaces first. Some marketplaces then ask for a choice, such as a category: [When a marketplace needs a choice](https://www.syncseats.com/developers/docs/working-with-listings#choices).
- Sales come from the marketplaces now, and a delivery goes to our team, who confirm it. The sandbox endpoints answer `403 test_only` for a live key.
- Live changes have tighter limits than the sandbox. [Rate limits](https://www.syncseats.com/developers/docs/rate-limits) has the numbers.
- Webhook endpoints have a mode too. Add a live endpoint to hear about live events.

### Where to go next

- [Working with listings](https://www.syncseats.com/developers/docs/working-with-listings): several ticket groups in one request, standing tickets, the face value, repricing, taking listings off sale.
- [Sales and money](https://www.syncseats.com/developers/docs/sales-and-money): delivering, fees, deadlines, payouts and charges.
- [Working with the inventory](https://www.syncseats.com/developers/docs/working-with-inventory): your purchases with what they cost and earned, and the sales you make elsewhere.
- [Webhooks](https://www.syncseats.com/developers/docs/webhooks): hear about a sale without asking for it.
- [Safe retries](https://www.syncseats.com/developers/docs/safe-retries) and [Versions and If-Match](https://www.syncseats.com/developers/docs/versions): the two habits that keep an integration from doing the wrong thing, or the right thing twice.

## Authentication and permissions

API keys, the header they travel in, what each permission allows, and what no key can do.

### API keys

A key belongs to one SyncSeats account and to one mode. Its prefix says which: `ssapi_live_` works on your account, `ssapi_test_` on its sandbox. After the prefix come 43 random characters.

You create keys in the dashboard under [Settings, Developers](https://www.syncseats.com/app/settings/developers). A key is shown once, when it is created. SyncSeats keeps only a hash of it, so nobody can show it to you again: if you lose a key, revoke it and create a new one.

- An account can have up to 10 keys in use for each mode.
- A key can expire after 30, 90 or 365 days, or never.
- Creating a live key asks for the code of your authenticator app and sends you a security email. A test key needs neither, since it reaches nothing real.

### Sending the key

Send the key in the `Authorization` header of every request:

```http
Authorization: Bearer ssapi_test_...
```

That is the only place a key is read. A key in the address, in another header or in a cookie opens nothing. A request without a valid key gets `401 unauthorized`:

```json
{
  "error": {
    "code": "unauthorized",
    "message": "Send your API key in the Authorization header: \"Authorization: Bearer <key>\"."
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

A wrong key stays wrong, so do not send it again and again. After 60 refused sign-ins from one address in 5 minutes, further ones get `429 rate_limited` instead.

### Permissions

A key can do what it was given when it was created, and nothing else. No permission includes another.

| Permission | What it allows | In "Read only" | In "Read and write" |
| --- | --- | --- | --- |
| `listings:read` | See your listings with their tickets, prices and marketplaces. | yes | yes |
| `listings:write` | Create listings, also with a proof of purchase, change prices and seats, answer what a marketplace asks, put listings on sale, take them off sale and delete them. | no | yes |
| `sales:read` | See your sales with fees, payout amounts, delivery deadlines and charges. | yes | yes |
| `sales:write` | Upload the proof of transfer or the ticket files of a sale and send it for confirmation, as delivering in the dashboard does. | no | yes |
| `recipients:read` | See who the tickets of a sale go to: name, email and phone. Personal data, so it is its own permission. | no | no |
| `payouts:read` | See your balance, your payouts with the sales each one covers, and payment requests. | yes | yes |
| `inventory:read` | See your ticket purchases with what they cost and what they sold for. | yes | yes |
| `inventory:write` | Record, change and delete ticket purchases and sales outside SyncSeats. | no | yes |

The dashboard offers two sets, Read only and Read and write, and a tick of its own for `recipients:read`, because it shows personal data of buyers.

A key keeps the permissions it was created with, even when a set gains one later. `sales:write`, which [delivers sales](https://www.syncseats.com/developers/docs/sales-and-money#deliver), joined Read and write after the first keys were made: a key from before does not have it. So did the permissions of [the inventory](https://www.syncseats.com/developers/docs/working-with-inventory): `inventory:read` joined both sets, `inventory:write` joined Read and write. To deliver or to reach the inventory through the API, create a new key and retire the old one.

The events of the catalog, your marketplaces and the listing options need no permission: every valid key can read them.

A request without the permission its endpoint needs gets `403 insufficient_scope`, and `details.required` names the permission:

```json
{
  "error": {
    "code": "insufficient_scope",
    "message": "This key lacks the permission \"listings:write\". Create a key that has it on SyncSeats under Settings, Developers.",
    "details": { "required": "listings:write" }
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

[`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me) lists what a key was given under `scopes` and what it can use right now under `usable_scopes`. Under `account` it also says whether your identity is verified, and in `account.display_currency` the currency your dashboard shows amounts in: `USD`, `EUR` or `GBP`.

### A verified identity for live changes

Changing listings and delivering sales with a live key needs a verified identity on SyncSeats, as it does in the dashboard. Until then the key reads, and a change or a delivery gets `403 kyc_required`. In [`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me), `listings:write` and `sales:write` are then under `scopes` but not under `usable_scopes`.

```json
{
  "error": {
    "code": "kyc_required",
    "message": "Changing listings with a live key needs a verified identity. Verify it on SyncSeats first."
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

The inventory needs none: `inventory:write` works with a live key before your identity is verified, since a purchase you record reaches no marketplace. The one exception is the purchase on the entry of a listing, which becomes the listing’s cost: changing its amount or date also takes `listings:write`, and with a live key a verified identity. Test keys are not affected either: the sandbox needs no verified identity.

### What no key can do

Some things only you can do, signed in to the dashboard, whatever a key was given:

- Request a payout.
- See or change bank details and tax details.
- Change the password or the two-factor authentication.
- Verify your identity.
- Write to support.
- Create or revoke API keys, and add or change webhook endpoints.
- See anything of another account. A key works on the account it belongs to, and no parameter changes that.

### When keys stop working

You can revoke a key in the dashboard whenever you like. It stops working at once.

SyncSeats ends every key of an account when its password is reset or changed, when its authenticator is replaced, and when the account is suspended. Its webhook endpoints are switched off with them. Create new keys afterwards.

The account is looked at on every request. If it is not active, its setup is unfinished or two-factor authentication is off, requests get `403 account_unavailable`. If the Seller API is not switched on for the account, they get `403 api_not_enabled`.

### Keys belong on a server

The API sends no CORS headers, so a web page in a browser cannot read its answers. That is on purpose: a key in a web page or in an app on a phone can be read by everyone who has it. Keep keys on your server, and let your own front end talk to your own back end.

- Give each system its own key, with only the permissions it needs.
- Keep keys out of source code. Read them from the environment or from a secret store.
- Set an expiry for the keys of tools you use for a short while.
- Revoke a key as soon as you think someone else has seen it. The prefix helps secret scanners find a key that slipped into a repository.

Next: [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode) explains what a test key works on.

## Test mode and the sandbox

What a test key works on, what is real and what is acted out, and the endpoints that simulate sales and the choices of a marketplace.

### Two modes, one API

The key decides the mode. A key that starts with `ssapi_live_` works on your account, one that starts with `ssapi_test_` on your account’s sandbox. The endpoints, the parameters and the shapes are the same in both, and the `SyncSeats-Mode` header of every answer says which mode it was: `live` or `test`.

### What the sandbox keeps to itself

The sandbox holds listings, sales, payouts, charges, inventory entries and webhook events of its own. Nothing in it reaches a marketplace, changes a real listing or your real inventory, or touches your balance, and each account has its own sandbox.

It also asks for less: test mode needs no verified identity, and creating a test key needs no authenticator code.

### What is real

The event catalog and your marketplaces are the real ones, read only. So you can check how your software matches events against the catalog it will meet later, and the ids you find with a test key are the ids you use with a live one.

### What is different

- A sandbox listing is `live` at once when it is created or put on sale. A live one is `queued` first and goes live as its marketplaces take it in.
- Sales do not happen by themselves. You act them out.
- No marketplace asks for a choice by itself. You make one wait.
- A delivery is checked and kept as a record, but its files are dropped and no email goes out. The same goes for the files of a proof of purchase.
- Amounts in EUR and GBP are converted at fixed rates instead of the rate of the day: one euro is always $1.10 and one pound always $1.27, so a price of £325.00 becomes $412.75 every time. Payouts go out in EUR at the same fixed rate, and the inventory adds up its totals at it. [Money](https://www.syncseats.com/developers/docs/conventions#money) explains the rate of a live key.
- The inventory holds only the purchases and sales you record in the sandbox. A sandbox listing has no entry in it, so `listing_id` of an entry is always `null`. [In the sandbox](https://www.syncseats.com/developers/docs/working-with-inventory#sandbox) has the rest.
- The limits differ: a test key may send 120 requests a minute where a live key may send 300, and a sandbox takes 60 changes a minute where a live account takes 30. [Rate limits](https://www.syncseats.com/developers/docs/rate-limits) has the table.

### Acting out sales and marketplaces

These 4 endpoints exist only in the sandbox. A live key gets `403 test_only` for them.

- [`POST /v1/sandbox/sales`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-create-sale): simulate a sale.
- [`POST /v1/sandbox/sales/{id}/advance`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-advance-sale): move a simulated sale on.
- [`POST /v1/sandbox/listings/{id}/require-choice`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-require-choice): make a marketplace wait for a choice.
- [`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-reset): reset the sandbox.

A simulated sale takes tickets of a sandbox listing that is on sale:

Request:

```bash
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"
  }'
```

The answer is a sale like any other. Then move it on, one step for each request, with `to`:

| Step | What it acts out |
| --- | --- |
| `proof_submitted` | A proof of delivery is uploaded; the sale waits for confirmation, and its `delivery` shows `via: syncseats`. Sends `sale.proof_submitted`. |
| `delivered` | Our team confirms the delivery. Sends `sale.delivered`. |
| `cancelled` | The sale is cancelled, with a charge if `charge` is set. Sends `sale.cancelled`. |
| `marketplace_paid` | The marketplace pays for the sale; it becomes ready for a payout. Sends `sale.payout_ready`. |
| `paid_out` | A payout with every ready sale is created and sent. Sends `payout.paid`. |

A cancellation can carry a charge, to see how penalties show up in your software:

```json
{
  "to": "cancelled",
  "charge": {
    "amount": { "amount": "74.00", "currency": "USD" },
    "reason": "The tickets were not delivered."
  }
}
```

Each step sends the webhook event a live sale would send, to the test endpoints of your account.

### Delivering in the sandbox

[`POST /v1/sales/{id}/delivery/uploads`](https://www.syncseats.com/developers/docs/api-sales#create-delivery-uploads) and [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) work with a test key as they do live, so your software can hand in a delivery before it meets a real sale. [Deliver a sale](https://www.syncseats.com/developers/docs/sales-and-money#deliver) explains the steps.

- The `upload_url` of a sandbox upload leads to SyncSeats itself, not to storage. Like a live one it takes no key, since it carries its own signature, and it takes the file for the same time.
- A file can be up to 4 MB in the sandbox, where a live key takes up to 10 MB. Asking for an upload of a bigger file gets `422 validation_failed`: test with a smaller one.
- A sandbox gives upload URLs for up to 120 files an hour, for deliveries and proofs of purchase together, and a reset does not start the hour anew. Past that the answer is `429 rate_limited` with `Retry-After`.
- One upload URL takes up to 10 files in 10 minutes, and each file has 20 seconds to arrive.
- The URL checks what arrives as storage does: the `Content-Type` and `Content-Length` headers against what was announced, the length of the body, and whether the file starts like a PDF, a PNG or a JPEG. It answers `200` without a body, and drops the file. Put it again to the same URL to replace it, until the upload is handed in.

| What is wrong | The answer |
| --- | --- |
| The URL is not one the API gave, or its time is over | `403 forbidden` |
| The sandbox was reset since the URL was given | `404 not_found` |
| The upload was handed in already, with a delivery or with new listings | `409 conflict` |
| The `Content-Type` header is not the type announced | `422 validation_failed` at `Content-Type` |
| The `Content-Length` header is not the size announced | `422 validation_failed` at `Content-Length` |
| The body has another length, or does not start like a PDF, a PNG or a JPEG | `422 validation_failed` at `body` |
| The body takes longer than 20 seconds to arrive | `422 validation_failed` at `body` |
| The URL took 10 files in the last 10 minutes, refused ones included | `429 rate_limited` with `Retry-After` |

The hand-in works as live: the sale is `awaiting_confirmation`, `delivery.via` is `api`, and your test endpoints get `sale.proof_submitted`. The sandbox does not check `buyer_note` or the recipient as live does. Move the sale on with `delivered` as our team would.

The step `proof_submitted` acts out a delivery without files of yours: `delivery.via` is then `syncseats`, with a made-up PDF, as when our team hands a delivery in for you.

### A proof of purchase in the sandbox

[`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads) and `proof_of_purchase_upload_ids` of [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) work with a test key as they do live, so your software can list on a marketplace that asks for a proof before it meets a live one. [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) explains the steps.

- The `upload_url` leads to SyncSeats itself, as for a delivery, and checks the file the same way: the headers, the length and how the file starts.
- A file can be up to 4 MB, where a live key takes up to 10 MB. Asking for an upload of a bigger file gets `422 validation_failed`.
- Its upload URLs count in the same hour as those of deliveries: up to 120 files together, and each URL takes up to 10 files in 10 minutes.
- [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) takes an upload once its file has come in, and each upload once. A request that creates no listing gives its uploads back, as live.
- The files are dropped. The listings keep how many there were in `proof_of_purchase_files`. With a proof, a marketplace with `requires_proof` can be named in `marketplace_ids` as live; without `marketplace_ids` the sandbox takes every marketplace of the account, as it always does, since it does not know the choice of your last listing in the dashboard.
- [`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-reset) deletes these uploads too.

### Choices of a marketplace

Live, a marketplace can wait for a choice before it takes a listing, as [When a marketplace needs a choice](https://www.syncseats.com/developers/docs/working-with-listings#choices) explains. In the sandbox [`POST /v1/sandbox/listings/{id}/require-choice`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-require-choice) makes one wait, so your software can practise reading `action` and answering it:

Request:

```bash
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"
  }'
```

The listing has to be on sale, and `marketplace_id` has to be one of its marketplaces; another marketplace gets `422 validation_failed`. A draft, a listing off sale or a closed one gets `409 conflict`, and so does a `kind` the marketplace waits for already.

The marketplace’s status is then `needs_action`, and `action` offers the same options every time:

| Kind | `id` and `label` of the options |
| --- | --- |
| `fan_section` | `Home Fans`, `Away Fans` and `Neutral Fans` |
| `category` | `Category 1`, `Category 2` and `Category 3` |
| `seating` | `1SA` (All Together), `1S2` (Up To 2 Together) and `1S1` (Single Seat(s)) |

- Asked for more than one kind, the marketplace waits for them in the order a live one asks: `fan_section`, `category` and `seating`.
- Your test endpoints get `listing.action_required` when the choice the listing shows changes, not for one that waits behind another.
- [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option) answers as live. After the last answer the marketplace is `live` at once and `listing.live` goes out; after another, the next choice shows and `listing.action_required` goes out for it.
- [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) drops a choice that waits.

### Limits and clean-up

A sandbox holds up to 500 listings, 500 sales, 100 payouts and 500 inventory entries. Past that, a request that would add one gets `409 sandbox_full`.

Sandbox data is deleted 90 days after it last changed. [`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-reset) empties the sandbox whenever you want a clean start, its inventory and the uploads of its deliveries and proofs of purchase included: an upload URL given before takes no file after it.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sandbox/reset" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: sandbox-reset-1"
```

Response, `200`:

```json
{
  "object": "sandbox_reset",
  "deleted": {
    "listings": 3,
    "sales": 2,
    "payouts": 1,
    "charges": 1,
    "inventory_items": 1
  }
}
```

### Webhooks in test mode

Webhook endpoints have a mode too. A test endpoint receives the events of the sandbox, signed like live ones, with `mode` set to `test`. [Webhooks](https://www.syncseats.com/developers/docs/webhooks) explains how to receive them.

A sandbox sends up to 500 events an hour. Past that, requests work as before, but their events are not sent, and they are not sent later either.

When one request creates several listings, only the events of the first can be sent while the request runs; those of the others are sent after it.

## Conventions

The rules every endpoint shares: the base address, JSON, ids, money, time, lists and the headers of every answer.

### Requests

Every endpoint lives under one base address:

Base address:

```text
https://www.syncseats.com/api/v1
```

The documentation writes paths from the version on. `GET /v1/listings` is a request to the base address plus `/listings`.

A body is a JSON object in UTF-8, sent with the header `Content-Type: application/json`, and can be up to 256 KB. Parameters of a `GET` go in the query.

The API takes what it documents and nothing else. A field it does not know is refused, not ignored: a typing mistake in a field name is an error you see, not a change that quietly did not happen.

| What is wrong | The answer |
| --- | --- |
| The body is not JSON, or not a JSON object | `400 invalid_json` |
| A body comes without `Content-Type: application/json` | `415 unsupported_media_type` |
| The body is larger than 256 KB | `413 payload_too_large` |
| A field the endpoint does not know, or a value it does not take | `422 validation_failed` |
| A query parameter is sent twice | `400 invalid_request` |
| The path is none of the API | `404 route_not_found` |
| The path exists, but not for this method | `405 method_not_allowed` |

### Answers

An answer is JSON. An object says what it is in `object`. A field that has no value is `null`; it is not left out. A refusal has a shape of its own, which [Errors](https://www.syncseats.com/developers/docs/errors) explains.

| Header | What it says |
| --- | --- |
| `X-Request-Id` | The id of the request, `req_` and 24 characters. Log it: it lets us find a request you write to us about. |
| `SyncSeats-Mode` | `live` or `test`: what the key works on. On every answer once the key is known. |
| `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` | Where the key stands with its limit. See [Rate limits](https://www.syncseats.com/developers/docs/rate-limits). |
| `Cache-Control: no-store` | Answers are about an account and must not be kept by a cache. |
| `ETag` | On an answer that is one listing: its version. See [Versions and If-Match](https://www.syncseats.com/developers/docs/versions). |
| `Idempotent-Replayed` | On an answer that was given before for the same `Idempotency-Key`. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries). |
| `Retry-After` | On a refusal that is worth waiting out: the seconds to wait. |
| `Allow` | On `405 method_not_allowed`: the methods the path takes. |

### Ids

| What | Form | Example |
| --- | --- | --- |
| Listing, event, marketplace, charge, API key | 24 characters: digits and the letters a to f | `671f3a9c2b7d4e0f1ae48211` |
| Sale | Digits: the invoice number of the sale | `1761470400000123` |
| Payout | The number on its documents | `PR-2026-0284` |
| Payment request | The number on its letters | `CLM-2026-0007` |
| Webhook event | `evt_` and 24 characters | `evt_673201c4e5a7b9d0f1a2b310` |

Ids are strings. Keep and send them as they are.

A sale goes by SyncSeats’ own invoice number, the one the dashboard shows with a `#` in front. The order number of the marketplace is not part of the API.

An id that never existed, was deleted or belongs to someone else gets the same answer, `404 not_found`.

### Money

An amount is an object with a decimal string and a currency. It is never a number, and never in cents:

```json
{ "amount": "412.00", "currency": "USD" }
```

Listings and sales are kept and shown in USD. A request may send an amount in `USD`, `EUR` or `GBP`:

```json
{ "amount": "325.00", "currency": "GBP" }
```

When a listing is created, `cost_per_ticket` and `face_value` are sent in the currency of `price_per_ticket`. A change to a listing may send each amount in a currency of its own.

The inventory is the exception: it keeps every amount you record in the currency you send it in, and adds up its totals in the currency a request asks for. [Currencies and what an entry earned](https://www.syncseats.com/developers/docs/working-with-inventory#money) explains it.

#### Exchange rates

- An amount in `EUR` or `GBP` is converted to USD when the request is processed: when the listing is created, or when that amount is changed. SyncSeats takes the daily reference rate of the central banks, the European Central Bank among them, and only once a second source confirms it.
- Without a confirmed rate, the request gets `409 conflict` and nothing is saved. Send the amount in USD instead.
- The listing keeps the amount in USD. It is not converted again when its tickets sell.
- A marketplace that sells in another currency gets the price in USD, converted at the rate of the day it goes to that marketplace.
- Payouts are sent in EUR. A sale shows what you receive in USD and, under `payout.amount_eur`, the same in EUR once the marketplace has paid; from then on that amount is fixed.
- With a test key the sandbox converts at fixed rates, so a test gets the same numbers every day: one euro is always $1.10 and one pound always $1.27. [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode#differences) has more.

#### Money

An amount with its currency.

| Field | Type | Description |
| --- | --- | --- |
| `amount` | string | The amount as a decimal string with two places, never cents. |
| `currency` | string | ISO 4217 code. One of `USD`, `EUR` or `GBP`. |

#### Money in a request

An amount with its currency.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `amount` | string | required | The amount as a decimal string, at most two places. |
| `currency` | string | required | `USD`, `EUR` or `GBP`. An amount in EUR or GBP is converted to USD at SyncSeats’ rate when the request is processed; the listing keeps the USD amount. One of `USD`, `EUR` or `GBP`. |

### Time

A point in time is a string in ISO 8601, in UTC, ending in `Z`: `2026-12-09T19:30:00.000Z`.

An event also says when it starts on the clock of its venue, in `starts_at_local` without a zone (`2026-12-12T19:30:00`), and names the venue’s time zone in `timezone` when it is known. Match and show events by the local time; compare and sort by the time in UTC. An event of the catalog whose `time_tba` is true has a day but no time yet.

A filter such as `created_since` takes a date or a date and time in ISO 8601. A day on its own, such as `date_from` of the event search or `pay_by` of a payment request, is written `YYYY-MM-DD`.

### Lists and pages

An endpoint that returns many objects answers with one page of them:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `list`. |
| `data` | array of objects | The objects of this page. |
| `has_more` | boolean | Whether more follow after this page. |
| `next_cursor` | string or null | Pass it as `cursor` to get the next page; null on the last one. |

Lists are sorted newest first; the event search is sorted by the day of the event, soonest first. Two parameters page through a list, 50 objects at a time unless you say otherwise, and at most 100:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

To read a whole list, follow the cursor:

1. Send the request with your filters.
2. If `has_more` is true, send the same request again with `cursor` set to the `next_cursor` you got. Keep the filters as they were.
3. Stop when `has_more` is false.

Reading every page:

```javascript
const BASE = 'https://www.syncseats.com/api/v1'

async function readAll(path, filters = {}) {
  const items = []
  let cursor
  do {
    const query = new URLSearchParams({ ...filters, ...(cursor ? { cursor } : {}) })
    const response = await fetch(BASE + path + '?' + query, {
      headers: { Authorization: 'Bearer ssapi_test_...' },
    })
    const page = await response.json()
    if (!response.ok) throw new Error(response.status + ' ' + page.error.code)
    items.push(...page.data)
    cursor = page.has_more ? page.next_cursor : undefined
  } while (cursor)
  return items
}

const sales = await readAll('/sales', { status: 'awaiting_delivery' })
```

A cursor is not meant to be read or built. One that was changed gets `400 invalid_request`.

[`GET /v1/marketplaces`](https://www.syncseats.com/developers/docs/api-catalog#list-marketplaces) answers in the same shape and always fits on one page.

## Errors

The shape of every refusal, every error code with its status, and what to do about each kind.

### The shape of a refusal

When the API refuses a request, the status is in the 400s or 500s and the body always has this shape:

```json
{
  "error": {
    "code": "not_found",
    "message": "A listing with this id was not found."
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

| Field | Type | Description |
| --- | --- | --- |
| `error` | object | The refusal: its code, its message and, for some codes, more about it. |
| `error.code` | string | What went wrong, for your program to act on. One of `invalid_request`, `invalid_json`, `unauthorized`, `forbidden`, `insufficient_scope`, `account_unavailable`, `api_not_enabled`, `kyc_required`, `test_only`, `not_found`, `route_not_found`, `method_not_allowed`, `conflict`, `listing_changed`, `listing_locked`, `listing_busy`, `listing_has_sales`, `seats_taken`, `sale_not_deliverable`, `idempotency_in_progress`, `sandbox_full`, `payload_too_large`, `unsupported_media_type`, `validation_failed`, `idempotency_key_reused`, `precondition_required`, `rate_limited`, `internal_error`, `marketplace_error`, `service_unavailable` or `api_suspended`. |
| `error.message` | string | What went wrong, in a sentence for the person reading the log. It may be reworded, so do not match on it. |
| `error.details` | map of string to any value, optional | More about the refusal, for the codes that have something to add. |
| `request_id` | string | The id of the request, as in the `X-Request-Id` header. Name it when you write to us. |

`code` is for your program: branch on it. `message` is for the person who reads the log, and may be worded differently tomorrow. The status says what kind of refusal it is, and several codes share a status.

A refusal changes nothing: what the request asked for did not happen. Only `500 internal_error` cannot promise that. After one, read the object again before you decide what to send.

### Values the API does not take

`422 validation_failed` names every value it did not accept under `details.issues`, each with the `path` of the value in your request and a `message`. This body for [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) writes the seats as one entry and the amount with a comma:

```json
{
  "event_id": "6718d2f4a9c3b17e5d204a61",
  "listings": [
    {
      "section": "112",
      "row": "F",
      "seats": ["14-15"],
      "price_per_ticket": { "amount": "412,00", "currency": "USD" }
    }
  ]
}
```

The answer names both:

```json
{
  "error": {
    "code": "validation_failed",
    "message": "2 values are not accepted.",
    "details": {
      "issues": [
        {
          "path": "listings[0].seats[0]",
          "message": "A seat is 1 to 10 letters or digits."
        },
        {
          "path": "listings[0].price_per_ticket.amount",
          "message": "Send the amount as a decimal string like \"412.00\"."
        }
      ]
    }
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

A path reads like the request: `listings[0].seats[0]` is the first seat of the first ticket group. A field the endpoint does not know is refused the same way.

### What to do about each kind

| Kind | Statuses | What to do |
| --- | --- | --- |
| The request is wrong | `400`, `413`, `415`, `422` | Fix the request. Sent again unchanged, it gets the same answer. |
| The key or the account | `401`, `403` | Check the key, what it was given and the account behind it. Do not retry. |
| Not there | `404`, `405` | Check the id, the path and the method. |
| The state does not allow it | `409`, `428` | Read the object again, decide anew and send a new request. Only `listing_busy` and `idempotency_in_progress` are worth sending again as they are, after a short wait. |
| Too many requests | `429` | Wait as long as the `Retry-After` header says, then go on. |
| Our side, or a marketplace | `500`, `502`, `503` | Send the request again a little later, with the same `Idempotency-Key`. Only after `internal_error` read the object again first: the request may have changed something, and the same key gives the same answer again, so send what is still missing with a new key. If it keeps coming back, write to us with the request id. |

Send a request again only when it can go through the next time: after `429 rate_limited`, `409 listing_busy`, `409 idempotency_in_progress`, `502 marketplace_error`, `503 service_unavailable` or `503 api_suspended`, and after a connection that broke before an answer came. Give every changing request an `Idempotency-Key`, so that sending it again never does the same thing twice. [Safe retries](https://www.syncseats.com/developers/docs/safe-retries) explains how.

### Every code

#### The request is wrong

| Status | Code | What it means |
| --- | --- | --- |
| `400` | `invalid_request` | The request is not one the API understands: a parameter is missing or has the wrong form. |
| `400` | `invalid_json` | The body is not a JSON object. |
| `413` | `payload_too_large` | The body is larger than the API takes. |
| `415` | `unsupported_media_type` | A body has to be sent as application/json. |
| `422` | `validation_failed` | The request was understood, but its values are not accepted. `details.issues` lists each problem with its path. |
| `422` | `idempotency_key_reused` | This Idempotency-Key was used for a different request. |

#### The key or the account

| Status | Code | What it means |
| --- | --- | --- |
| `401` | `unauthorized` | No API key, or one that is unknown, revoked or expired. |
| `403` | `forbidden` | The key is valid, but this is not something it may do. |
| `403` | `insufficient_scope` | The key lacks the permission this endpoint needs. `details.required` names it. |
| `403` | `account_unavailable` | The account behind the key cannot use the API right now: it is not active, its setup is unfinished or two-factor authentication is off. |
| `403` | `api_not_enabled` | The Seller API is not switched on for this account yet. |
| `403` | `kyc_required` | Changing listings or delivering sales with a live key needs a verified identity on SyncSeats. |
| `403` | `test_only` | This endpoint belongs to the sandbox and takes test keys only. |

#### Not there

| Status | Code | What it means |
| --- | --- | --- |
| `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. |
| `404` | `route_not_found` | The API has no endpoint at this path. |
| `405` | `method_not_allowed` | The endpoint exists, but not for this HTTP method. |

#### The state does not allow it

| Status | Code | What it means |
| --- | --- | --- |
| `409` | `conflict` | The request cannot be carried out in the state things are in. The message says why. |
| `409` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `409` | `listing_locked` | The listing is on a marketplace, where its section, row, ticket type and seats cannot change in place, apart from removing unsold seats or standing tickets. |
| `409` | `listing_busy` | The listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet. Try again shortly. |
| `409` | `listing_has_sales` | The listing has sales and stays on record. Take the rest off sale instead. |
| `409` | `seats_taken` | One or more of these seats are already listed for the event. |
| `409` | `sale_not_deliverable` | The sale takes no delivery: it is delivered, cancelled or failed. |
| `409` | `idempotency_in_progress` | A request with this Idempotency-Key is still running. |
| `409` | `sandbox_full` | The sandbox of this account is full. Reset it to go on. |
| `428` | `precondition_required` | This change needs the `If-Match` header with the listing’s current version. |

#### Too many requests

| Status | Code | What it means |
| --- | --- | --- |
| `429` | `rate_limited` | Too many requests. `Retry-After` says how many seconds to wait. |

#### Our side, or a marketplace

| Status | Code | What it means |
| --- | --- | --- |
| `500` | `internal_error` | Something went wrong on our side. The request id helps us find it. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |
| `503` | `service_unavailable` | A service the request needs did not answer, such as the file storage. Nothing was saved. `Retry-After` says when to try again. |
| `503` | `api_suspended` | The API is switched off for the moment. `Retry-After` says when to try again. |

## Rate limits

How many requests a key and an account may send, the headers that say where you stand, and what to do at the limit.

### The limits

| Limit | Live | Test |
| --- | --- | --- |
| Requests per key, a minute | 300 | 120 |
| Requests per account, a minute, all its keys together | 600 | 240 |
| Requests that change something, per account, a minute | 30 | 60 |
| Requests that change something, per account, an hour | 600 | 1,200 |
| Changes that reach the marketplaces, all accounts on SyncSeats together, a minute | 120 | Not counted |
| Ticket groups in one `POST /v1/listings` | 50 | 50 |

- A key has an allowance of its own, and all keys of an account share the allowance of the account.
- A request that changes something, which is every `POST`, `PATCH` and `DELETE`, also counts against the two limits for changes. Changes to [the inventory](https://www.syncseats.com/developers/docs/working-with-inventory) count there too, together with changes to listings.
- With a live key, [`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing), [`DELETE /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#delete-listing), [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) and [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) reach the marketplaces while the request runs, so they also count against one limit that all accounts on SyncSeats share: 120 a minute. [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) does not count there, because new listings go out through a queue, and neither do changes to the inventory, which reach no marketplace.
- Each limit is counted in a window of its own: a minute, or an hour for the hourly one. When the window ends, the count starts again.
- One [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) with 50 ticket groups is one request.

### Why live changes are tighter

A change with a live key goes out to the marketplaces, over connections all sellers on SyncSeats share. So a live key may read a lot and change less. The sandbox asks no marketplace, which is why it takes more changes and fewer requests in all.

For the same reason the changes to listings that are already out there have a limit across all sellers. Your integration can meet it without doing anything wrong, when many sellers change listings at the same time. Then wait as long as `Retry-After` says and send the change again, with the same `Idempotency-Key`.

### The headers

Every answer to a request with a valid key says where the key stands:

| Header | What it says |
| --- | --- |
| `X-RateLimit-Limit` | How many requests this key may send a minute. |
| `X-RateLimit-Remaining` | How many of them are left in the minute that is running. |
| `X-RateLimit-Reset` | When that minute ends, in Unix seconds. |
| `Retry-After` | Only on `429 rate_limited`: how many seconds to wait. |

The three headers describe the key’s own allowance a minute. The allowance of the account, the limits for changes and the limit all sellers share have no headers; when one of them is used up, the message of the refusal says which.

### At the limit

A request over a limit gets `429 rate_limited`:

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests with this key. Try again in 42 seconds.",
    "details": { "retry_after_seconds": 42 }
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

Wait as long as `Retry-After` says; `details.retry_after_seconds` holds the same number. Requests over the limit are counted too, so sending more of them does not help.

A few habits keep an integration well under the limits:

- Create the listings of one event in one request instead of one request for each ticket group.
- Read what changed, not everything: [`GET /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#list-listings) takes `updated_since`.
- Let [webhooks](https://www.syncseats.com/developers/docs/webhooks) tell you about sales instead of asking for them every few moments.
- Spread the work of a batch job over time instead of sending it in one burst.

### Refused sign-ins

Requests without a valid key are counted for the address they come from. After 60 of them in 5 minutes, further ones get `429 rate_limited` instead of `401 unauthorized` until the window ends. A client with a wrong key should stop, not try again.

## Safe retries

Send an Idempotency-Key with every change, and a request that is sent twice still runs only once.

### Why

A request can go through while its answer gets lost: a timeout, a dropped connection, a crash on your side. If you send it again, you may list the same tickets twice. If you do not, you may have listed none. With an idempotency key you can always send it again.

### The header

Send `Idempotency-Key` with every request that changes something: every `POST`, `PATCH` and `DELETE`. The API works without it; we recommend it everywhere and urge it for [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings).

The value is yours to choose: up to 200 printable ASCII characters, without spaces. A random UUID works well. Use a new value for every new request, and the same value whenever you repeat one.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-create" \
  -d '{
    "event_id": "6718d2f4a9c3b17e5d204a61",
    "listings": [
      {
        "section": "112",
        "row": "F",
        "seats": ["14", "15"],
        "price_per_ticket": { "amount": "412.00", "currency": "USD" },
        "face_value": { "amount": "195.00", "currency": "USD" },
        "cost_per_ticket": { "amount": "280.00", "currency": "USD" },
        "reference": "48211"
      }
    ],
    "proof_of_purchase_upload_ids": ["upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd"]
  }'
```

### What happens on a repeat

| What you send | What happens |
| --- | --- |
| The same request again, after the first went through | You get the first answer again, with the header `Idempotent-Replayed: true`. Nothing runs a second time. |
| The same request again, after the first went through with an answer of more than 256 KB | `409 conflict`: the answer was too large to keep. Nothing runs a second time; read the object instead. |
| The same request again, while the first is still running | `409 idempotency_in_progress` with `Retry-After`. Send it again a little later. |
| The same request again, after the first was refused | It runs again, as if it were the first time. |
| The same request again, after the first got `500 internal_error` | You get that answer again, with `Idempotent-Replayed: true`. The first may have changed something, so nothing runs a second time. Read the object, then send what is still missing with a new key. |
| Another request with the same key: another method, path, query or body, or another API key of your account | `422 idempotency_key_reused` |

A key is remembered for 24 hours, for your account and the mode of the key that sent it. After that, the same value counts as new. The first answer is given again only to the API key that sent the request: an answer can hold what only that key may read.

### Only what went through is kept

Only an answer that says the request went through is kept and given again, and `500 internal_error`, after which that is not certain. A refusal changed nothing, so its key is free again. If a change is refused with `409 listing_busy` and you send the same request with the same key a moment later, it runs.

That also means a repeat can end differently than the first try. Read the answer you get, not the one you expected.

An answer is kept up to 256 KB. A larger one is not kept, so the same request with the same key gets `409 conflict` instead of that answer, and does not run again: read the object to see what the request did.

### Send the same bytes

Requests count as the same when they come with the same API key and their method, their path with its query and their body are the same, byte for byte. Build the body once and keep it for the repeat. A body that is put together again with its fields in another order is another request to the API, and gets the refusal for a reused key.

### The second safety net

Whatever the header says, SyncSeats never lists the same seat of an event twice. A ticket group whose seats are already listed is not created again; the refusal carries the code `seats_taken`, for a request with several groups under `skipped`.

### A request that is sent until it is answered

This function sends a change, repeats it when there was no answer or the refusal is worth waiting out, and gives up on a refusal that sending again cannot cure:

Node 18 or newer:

```javascript
import { randomUUID } from 'node:crypto'

const BASE = 'https://www.syncseats.com/api/v1'
const TRY_AGAIN = new Set(['rate_limited', 'listing_busy', 'idempotency_in_progress', 'marketplace_error', 'service_unavailable', 'api_suspended'])
const ATTEMPTS = 5

async function change(method, path, body) {
  const key = randomUUID() // one key for the request and every repeat of it
  const payload = body === undefined ? undefined : JSON.stringify(body) // the same bytes every time
  let wait = 1
  for (let attempt = 1; attempt <= ATTEMPTS; attempt++) {
    let response
    try {
      response = await fetch(BASE + path, {
        method,
        headers: {
          Authorization: 'Bearer ssapi_test_...',
          'Idempotency-Key': key,
          ...(payload ? { 'Content-Type': 'application/json' } : {}),
        },
        body: payload,
      })
    } catch {
      // No answer. The request may have gone through or not: send it again.
    }
    if (response) {
      const answer = await response.json()
      if (response.ok) return answer
      if (!TRY_AGAIN.has(answer.error.code)) throw new Error(response.status + ' ' + answer.error.code)
      wait = Number(response.headers.get('Retry-After')) || wait
    }
    await new Promise(resolve => setTimeout(resolve, wait * 1000))
    wait *= 2
  }
  throw new Error('No answer after ' + ATTEMPTS + ' attempts')
}
```

## Versions and If-Match

Every listing carries a version. Send it back with a change, and the change only happens if the listing is still what you read.

### Why

A listing can change between the moment you read it and the moment you change it. Tickets sell. A marketplace holds seats for an order. Someone edits the listing in the dashboard. A repricer that works on what it read a minute ago may price tickets that are gone.

### What the version covers

Every listing has a `version`: a short string that changes whenever what the listing offers changes. It covers:

- the section, the row, the seats and how many there are
- the ticket type
- the price, and a price of its own on a marketplace
- which seats are sold and how many tickets are reserved
- whether the listing is on sale

It changes with every sale, every reservation, every seat that is removed and every edit, and when the listing goes on or off sale. It does not change while the marketplaces take a listing in, for example from `queued` to `live`: nothing you decide on has changed then.

It does not cover the face value, the cost, your reference or your note, nor the answer to a choice a marketplace waits for. A change to those leaves the version as it was.

An answer that is one listing also carries the version in its `ETag` header.

### Sending it back

Send the version you read in the `If-Match` header of the change, in quotes as it comes in `ETag`:

```http
If-Match: "Hc4tN9wEo2sKjU6b"
```

If the listing is still at that version, the change happens and the answer carries the new version. If not, nothing is changed and the answer is `409 listing_changed` with the version the listing has now:

```json
{
  "error": {
    "code": "listing_changed",
    "message": "The listing is no longer at the version sent in If-Match. Nothing was changed. Read it again and decide anew.",
    "details": { "current_version": "Zr8yB1nQe5uMfA0x" }
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

### When it is required

| Endpoint | `If-Match` |
| --- | --- |
| [`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing) | Required when the request changes `seats`, `quantity`, `section`, `row` or `ticket_type`. Optional otherwise |
| [`DELETE /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#delete-listing) | Required |
| [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) | Optional |
| [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) | Optional |
| [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option) | Optional |

A request that needs the header and comes without it gets `428 precondition_required`.

For a price and the other fields it is optional. Send it anyway when the price you set depends on what you read, such as how many tickets are left.

Request:

```bash
curl -X PATCH "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48236" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48236-reprice-1" \
  -H 'If-Match: "Hc4tN9wEo2sKjU6b"' \
  -d '{
    "price_per_ticket": { "amount": "185.00", "currency": "USD" }
  }'
```

Response, `200`:

```json
{
  "object": "listing",
  "id": "671f3a9c2b7d4e0f1ae48236",
  "status": "live",
  "on_sale": true,
  "version": "Zr8yB1nQe5uMfA0x",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at": "2026-11-29T15:30:00.000Z",
    "starts_at_local": "2026-11-29T15:30:00",
    "timezone": "Europe/London"
  },
  "section": "214",
  "row": "K",
  "general_admission": false,
  "seats": ["7", "8", "9"],
  "quantity": 3,
  "available_quantity": 3,
  "sold_quantity": 0,
  "reserved_quantity": 0,
  "sold_seats": [],
  "ticket_type": "mobile_transfer",
  "split": "no_singles",
  "price_per_ticket": { "amount": "185.00", "currency": "USD" },
  "face_value": null,
  "cost_per_ticket": { "amount": "150.00", "currency": "USD" },
  "restriction": null,
  "view": { "id": "aisle_seat", "label": "Aisle seat" },
  "extras": [],
  "reference": "48236",
  "internal_note": null,
  "proof_of_purchase_files": 0,
  "marketplaces": [
    {
      "id": "66a0c41e7b2d9f3a10c5e801",
      "name": "Viagogo",
      "status": "live",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    },
    {
      "id": "66a0c41e7b2d9f3a10c5e802",
      "name": "StubHub",
      "status": "live",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    }
  ],
  "needs_action": false,
  "source": "api",
  "created_at": "2026-11-03T14:12:09.000Z",
  "updated_at": "2026-11-10T08:00:14.000Z"
}
```

### Read, decide, write

1. Read the listing and keep its `version`.
2. Decide on the change from what you read.
3. Send the change with `If-Match`.
4. On `409 listing_changed`, read the listing again and go back to the second step.

Do not just put `details.current_version` into the old request and send it again. The listing changed for a reason, and that reason may change what you want to do: after a sale there are fewer tickets to price.

### What holds without it

The version guards your decision. Two rules hold even when you send none: sold and reserved seats can never be removed, and a listing that is being synced with a marketplace answers `listing_busy` until that is done. [Working with listings](https://www.syncseats.com/developers/docs/working-with-listings) has the rest.

## Working with listings

Create listings for seated or standing tickets, with a proof of purchase where a marketplace asks for one, change them, and take them off sale.

### One listing, one ticket group

A listing is one ticket group of yours for one event: a section, a row and its seats, or a number of [standing tickets](https://www.syncseats.com/developers/docs/working-with-listings#standing). Four seats in Row F and two in Row G are one listing each.

A listing is offered on several marketplaces at the same time. `marketplaces` shows each of them with its status, its price and its commission. When tickets sell on one marketplace, SyncSeats takes them off the others.

### What you need first

- The id of the event, from [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events). An event the catalog does not have cannot be requested through the API; do that in the dashboard.
- The ids of the marketplaces to list on, from [`GET /v1/marketplaces`](https://www.syncseats.com/developers/docs/api-catalog#list-marketplaces), if you do not want all of them.
- The ids for the ticket type, the split, a restriction, a view and extras, from [`GET /v1/listing-options`](https://www.syncseats.com/developers/docs/api-catalog#get-listing-options), if you use them.
- For a marketplace that asks for a proof of purchase, the files of the proof, uploaded as [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) explains.

### Creating listings

[`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) takes one event and up to 50 ticket groups. Each group becomes one listing.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-create" \
  -d '{
    "event_id": "6718d2f4a9c3b17e5d204a61",
    "listings": [
      {
        "section": "112",
        "row": "F",
        "seats": ["14", "15"],
        "price_per_ticket": { "amount": "412.00", "currency": "USD" },
        "face_value": { "amount": "195.00", "currency": "USD" },
        "cost_per_ticket": { "amount": "280.00", "currency": "USD" },
        "reference": "48211"
      }
    ],
    "proof_of_purchase_upload_ids": ["upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd"]
  }'
```

- `seats` names each seat as an entry of its own. How many there are is the quantity. Tickets without seat numbers send `quantity` instead, as [Standing tickets](https://www.syncseats.com/developers/docs/working-with-listings#standing) explains.
- `price_per_ticket` is in `USD`, `EUR` or `GBP`. An amount in `EUR` or `GBP` is converted to USD when the request is processed, and the answer shows USD. [Money](https://www.syncseats.com/developers/docs/conventions#money) says at which rate.
- `face_value` is the price printed on the ticket and `cost_per_ticket` what you paid for it, both in the currency of the price. [Face value](https://www.syncseats.com/developers/docs/working-with-listings#face-value) says which marketplaces get it. The cost is also what the listing’s entry in [the inventory](https://www.syncseats.com/developers/docs/working-with-inventory) shows the tickets cost, and a purchase amount recorded there becomes the listing’s cost.
- `marketplace_ids` is optional. Left out, the listings go to every marketplace of your account, with a live key without the ones you left out on your last listing in the dashboard (a test key takes every one). A marketplace that asks for a proof of purchase is among them only when the request sends one, and so is a marketplace sold as one with it.
- `proof_of_purchase_upload_ids` is optional too: the uploads of a proof of purchase, which goes with every ticket group of the request. The example sends the order confirmation of the tickets this way. [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) explains how to upload it.
- `publish` is true unless you say otherwise. With `false` the listings are saved as drafts and go nowhere yet.

On a marketplace that does not carry the event yet, a listing waits until it does. `ready_marketplace_ids` of the event says which of your marketplaces carry it already.

### When only a part goes through

A request with several groups can go through in part. The answer has what was created under `listings`, in the order of the request, and what was not under `skipped`: the position of the group in the request, counted from 0, a code and a message. Here the second of two groups names seats that are listed already:

skipped:

```json
[
  {
    "index": 1,
    "code": "seats_taken",
    "message": "Seats 14 and 15 in Section 112, Row F are already listed for this event."
  }
]
```

Look at `skipped` after every request that creates listings. It is empty when all went through.

### Ticket types

`ticket_type` says what the buyer gets, as an id from [`GET /v1/listing-options`](https://www.syncseats.com/developers/docs/api-catalog#get-listing-options); left out, it is `eticket`. It also says how a sale of the listing is delivered as a rule:

| Ticket type | What the tickets are | Delivered as a rule with |
| --- | --- | --- |
| `eticket` | PDF tickets, one file for each ticket. | `pdf` |
| `mobile` | A QR code or a screenshot from the ticketing app, as a PDF or an image. | `transfer_proof` |
| `mobile_transfer` | Tickets that are transferred from your account at the primary seller to the buyer’s, for example by email through Ticketmaster or AXS. | `transfer_link` when you have a link for each ticket to pass on, otherwise `transfer_proof` |

[How the tickets went](https://www.syncseats.com/developers/docs/sales-and-money#delivery-methods) explains the methods. A delivery says how you actually delivered, so it can take another method than the one its ticket type suggests.

A listing from the dashboard or from before can carry an older type, which the API shows but does not take: `flash`, `paper`, `paperless`, `will_call` and `dropship`.

### Standing tickets

Standing or unreserved tickets have no seat numbers. Send `quantity`, how many there are from 1 to 50, in place of `seats`, and leave `row` out. `section` names the area when the venue has several, like Floor or Balcony; left out, it is `General Admission`.

```json
{
  "event_id": "6718d2f4a9c3b17e5d204a61",
  "listings": [
    {
      "section": "Floor",
      "quantity": 4,
      "price_per_ticket": { "amount": "289.00", "currency": "USD" },
      "face_value": { "amount": "149.50", "currency": "USD" },
      "reference": "48244"
    }
  ]
}
```

A group with both `seats` and `quantity`, or with `quantity` and a row, gets `422 validation_failed`.

The listing has `general_admission` set to true and the row `GA`. Marketplaces want a number for every ticket, so SyncSeats numbers the tickets, starting at 1 and skipping the numbers your other standing listings for the same event and section use already. `seats` shows these numbers. They are not on the tickets:

In the answer:

```json
{
  "section": "Floor",
  "row": "GA",
  "general_admission": true,
  "seats": ["1", "2", "3", "4"],
  "quantity": 4
}
```

A listing created earlier with the row `GA` and made-up seat numbers, in the dashboard or through the API, counts as standing too.

`quantity` changes how many tickets a standing listing has, with `If-Match`. While it is a draft, any number goes, and the tickets are numbered anew. On sale it can only go down, as the only field of the request: the highest unsold numbers go, sold ones stay, and at least one unsold ticket stays. More tickets go on a new listing.

```json
{ "quantity": 3 }
```

| What the request does | The answer |
| --- | --- |
| Sends another field beside `quantity` | `422 validation_failed` at `quantity` |
| Asks for more tickets than the listing has | `409 listing_locked` |
| Changes a listing that was taken off sale | `409 listing_locked` |
| Goes below the tickets that sold, or leaves no unsold ticket | `409 conflict` |
| Meets tickets a marketplace holds for an order it has not confirmed | `409 listing_busy` |
| Sends `quantity` for seated tickets | `422 validation_failed`: send `seats` |

### Face value

`face_value` is the price printed on the ticket. Send it when you create a listing, in the currency of the price; another currency gets `422 validation_failed`. The answer shows it in USD.

Marketplaces that ask for a face value get `face_value`. Without it they get `cost_per_ticket`, and without that most of them get the price per ticket. Set the face value when the tickets carry one, so no marketplace has to fall back on your cost or your price.

[`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing) sets it later, in `USD`, `EUR` or `GBP`, and `null` removes it. It needs no `If-Match` and does not change the `version`:

```json
{
  "face_value": { "amount": "195.00", "currency": "USD" }
}
```

> **A later face value reaches new marketplaces only** A marketplace that has the listing already keeps the face value it got when it took the listing. A new or removed `face_value` counts for the marketplaces that take the listing after the change. Send it when you create the listing.

### Statuses

`status` says where the listing stands as a whole:

| Status | What it means |
| --- | --- |
| `draft` | Saved, on no marketplace. Publish it to put it on sale. |
| `pending_event` | Waits for our team to add its event to the catalog. Only listings from the dashboard can be in this state. |
| `queued` | On its way to its marketplaces. |
| `live` | On sale. |
| `partially_sold` | Some tickets sold, the rest is still listed (see `on_sale`). |
| `sold` | Every ticket sold. |
| `completed` | Every ticket sold and every sale delivered. |
| `off_sale` | Taken off every marketplace. Publish it to put it back on sale. |
| `cancelled` | Cancelled by our team. |
| `error` | A marketplace refused it. Our team sees these; the dashboard offers a retry. |

`on_sale` says whether unsold tickets are offered right now. Each entry of `marketplaces` has a status of its own:

| Status on a marketplace | What it means |
| --- | --- |
| `pending` | Not on this marketplace yet: on its way, or the marketplace is paused. |
| `waiting_for_event` | The marketplace does not carry the event yet. The listing goes out once it does. |
| `needs_action` | The marketplace waits for a choice: a fan section, a category or how the seats sit together. `action` lists the options; answer with `POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice` or in the dashboard. |
| `live` | On sale there. |
| `sold` | Sold there. |
| `off_sale` | Not on sale there. |
| `cancelled` | Cancelled there. |
| `error` | The marketplace refused it. |

`needs_action` is true when a marketplace waits for a choice. [When a marketplace needs a choice](https://www.syncseats.com/developers/docs/working-with-listings#choices) explains how to answer it.

### What can change when

[`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing) changes the fields you send and leaves the others as they are. What it takes depends on whether the listing is on a marketplace:

| Field | Draft, on no marketplace | On sale |
| --- | --- | --- |
| `price_per_ticket` | yes | yes |
| `marketplace_prices` | yes | yes |
| `face_value` | yes | yes |
| `cost_per_ticket` | yes | yes |
| `split` | yes | yes |
| `restriction` | yes | yes |
| `view` | yes | yes |
| `extras` | yes | yes |
| `reference` | yes | yes |
| `internal_note` | yes | yes |
| `section` | yes | No: `409 listing_locked` |
| `row` | yes | No: `409 listing_locked` |
| `ticket_type` | yes | No: `409 listing_locked` |
| `seats` | yes | Only to remove unsold seats |
| `quantity` | Standing tickets only | Standing tickets only, and only fewer |

- A new price goes to every marketplace of the listing. If one of them does not take it, nothing is saved and the answer is `502 marketplace_error`: the listing is as it was.
- `marketplace_prices` gives a marketplace a price of its own, by the id of the marketplace. Marketplaces that are sold as one take it together.
- A change to the tickets themselves needs the `If-Match` header. [Versions and If-Match](https://www.syncseats.com/developers/docs/versions) explains why.

A price of its own:

```json
{
  "marketplace_prices": {
    "66a0c41e7b2d9f3a10c5e803": { "amount": "195.00", "currency": "USD" }
  }
}
```

`null` in place of the amount sets the marketplace back to the price of the listing:

Back to the price of the listing:

```json
{
  "marketplace_prices": { "66a0c41e7b2d9f3a10c5e803": null }
}
```

### Removing seats from a listing on sale

While a listing is on sale (`live` or `partially_sold`), its tickets can change in one way only: unsold seats can be removed. Send `seats` with the seats that stay, as the only field of the request, with `If-Match`:

```json
{
  "seats": ["7", "8"]
}
```

At least one ticket has to stay, and sold or reserved seats cannot be left out. Anything else, such as other seats, more seats, another row or another ticket type, gets `409 listing_locked`: delete the listing and create it anew. Standing tickets send `quantity` instead, as [Standing tickets](https://www.syncseats.com/developers/docs/working-with-listings#standing) shows.

### Selling in pairs

`split` says how many tickets a buyer may take. With `pairs` buyers take 2, 4 or 6, so a sale never leaves 1 or 3 tickets over. A listing takes it with an even number of at least 4 tickets that are not sold or reserved, when it is created and when its split changes to `pairs`; otherwise `422 validation_failed` at `split`.

Removing seats or tickets from a listing that sells in pairs has to leave an even number unsold; otherwise `422 validation_failed` at `seats` or `quantity`. When sales leave 2 tickets, the listing keeps the split and sells them together.

### When a marketplace needs a choice

Some marketplaces ask for something before they take a listing: which fans the tickets are for, which of their ticket categories they belong to, or how the seats sit together. Until they have the answer, their status on the listing is `needs_action`, the listing’s `needs_action` is true, and `action` of that marketplace names the choice with its options:

One entry of marketplaces:

```json
{
  "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" }
    ]
  }
}
```

| Kind | What the marketplace asks |
| --- | --- |
| `fan_section` | Which fans the tickets are for, for example home or away fans. |
| `category` | Which of the event’s ticket categories at the marketplace the tickets belong to. |
| `seating` | How the seats sit together, for example all together or in pairs. |

For a fan section and a category, `id` and `label` of an option are the same text. For how the seats sit together, `id` is a short code and `label` its name.

Answer with [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option): `kind` as `action.kind` names it, and one `id` of `action.options` as `option_id`. `If-Match` is optional, and an answer does not change the version.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48211/marketplaces/66a0c41e7b2d9f3a10c5e803/choice" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-category" \
  -d '{
    "kind": "category",
    "option_id": "Category 1"
  }'
```

- A marketplace that waits for more than one choice shows them one after the other, in the order `fan_section`, `category` and `seating`. The next shows once the one before is answered, in the answer to it.
- With a live key, the marketplace takes the listing through its queue after the last answer. `listing.live` tells you when it is on sale there; the answer itself sends no event.
- The `listing.action_required` webhook tells you when a marketplace starts to wait. [Webhooks](https://www.syncseats.com/developers/docs/webhooks#action-required) has what it carries.
- The dashboard offers the same choice under the listing, and an answer given there counts as well.

| What is wrong | The answer |
| --- | --- |
| The listing is not yours, or the marketplace is not one of the listing | `404 not_found` |
| The marketplace waits for no choice | `409 conflict` |
| It waits for another `kind` first: the message names it | `409 conflict` |
| `option_id` is none of the options shown | `422 validation_failed` at `option_id` |
| `If-Match` names another version than the listing has | `409 listing_changed` |

In the sandbox no marketplace asks by itself. [`POST /v1/sandbox/listings/{id}/require-choice`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-require-choice) makes one wait, so your software can practise: [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode#choices) shows how.

### Off sale, back on sale, delete

- [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) takes a listing off every marketplace and keeps it. For a listing that sold in part, it takes the unsold rest off sale.
- [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) puts a draft, or a listing that was taken off sale, on sale.
- [`DELETE /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#delete-listing) takes the listing off every marketplace and archives it. It needs `If-Match`. A listing with sales stays on record and answers `409 listing_has_sales`; take the rest off sale instead.

While a listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet, a change gets `409 listing_busy`. Wait a little and send it again.

### Options, your reference and your note

`restriction`, `view` and `extras` take ids from [`GET /v1/listing-options`](https://www.syncseats.com/developers/docs/api-catalog#get-listing-options), never text of your own. In an answer each comes as an id with its label. A value that was set in the dashboard and is not on the list has the id `custom`.

`reference`, up to 100 characters, is your own name or number for the listing, for example its id in your system. `internal_note`, up to 500 characters, is a note for yourself. Both are private: no marketplace and no buyer sees them. [`GET /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#list-listings) filters by `reference`, so you can find a listing by your own number, and every sale of the listing carries the reference too, as [Your reference on a sale](https://www.syncseats.com/developers/docs/sales-and-money#reference) shows.

There is no field for text of your own to buyers.

### Proof of purchase

Some marketplaces take a listing only with a proof of purchase, such as the order confirmation of the tickets. `requires_proof` in [`GET /v1/marketplaces`](https://www.syncseats.com/developers/docs/api-catalog#list-marketplaces) marks them. The proof goes in three steps, like the files of a [delivery](https://www.syncseats.com/developers/docs/sales-and-money#deliver):

1. [`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads) announces each file with its `content_type` and its `size` in bytes: up to 10 files, each `application/pdf`, `image/jpeg` or `image/png`, of up to 10 MB. The answer has an upload for each, with its `id` and its `upload_url`.
2. `PUT` each file to its `upload_url` with exactly the `headers` of its upload. The URL is no endpoint of the API: it carries its own signature, so send no `Authorization` header, and a file of another type or length is refused. It takes the file for 15 minutes, until `expires_at`.
3. [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) names the uploads in `proof_of_purchase_upload_ids`. Each file is copied to a place of its own as the listings are created: a file put to the URL after that changes nothing.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings/proof-of-purchase/uploads" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-proof-of-purchase" \
  -d '{
    "files": [
      {
        "content_type": "application/pdf",
        "size": 96512
      }
    ]
  }'
```

Response, `201`:

```json
{
  "object": "proof_of_purchase_upload_batch",
  "uploads": [
    {
      "id": "upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd",
      "upload_url": "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd.1794389705.Lp8Vd3Qx6Kz1Rt9Wm4Bc7Hs2Nf5Jy0Ga3Ue6Ti9Ow1P",
      "method": "PUT",
      "headers": {
        "Content-Type": "application/pdf",
        "Content-Length": "96512"
      },
      "content_type": "application/pdf",
      "size": 96512,
      "expires_at": "2026-11-11T09:35:05.000Z"
    }
  ]
}
```

The order confirmation goes to the URL of its upload:

Upload with curl:

```bash
curl -X PUT "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd.1794389705.Lp8Vd3Qx6Kz1Rt9Wm4Bc7Hs2Nf5Jy0Ga3Ue6Ti9Ow1P" \
  -H "Content-Type: application/pdf" \
  -H "Content-Length: 96512" \
  --data-binary @order-confirmation-48211.pdf
```

Then the request of [Creating listings](https://www.syncseats.com/developers/docs/working-with-listings#create) names the upload:

proof_of_purchase_upload_ids:

```json
["upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd"]
```

- The proof goes with every ticket group of the request, and every listing it creates has its files. `proof_of_purchase_files` of a listing says how many there are; the files themselves are not shown.
- With a proof, a marketplace with `requires_proof` can be named in `marketplace_ids`, and when you leave `marketplace_ids` out, it is among the marketplaces the listings go to. Without a proof it is left out, and naming it gets `422 validation_failed` at `marketplace_ids[i]`.
- A proof goes in only when listings are created, drafts with `publish` set to `false` included. The API adds no proof and no marketplace to a listing that exists.
- The uploads are taken last, once the rest of the request holds, and each goes with one request. When a request creates no listing, for example because every ticket group was skipped or refused, its uploads are free again for the next one. An upload that went with no request within 24 hours is gone; upload the file again.
- An upload of a delivery is no proof of purchase, and an upload of a proof of purchase goes into no delivery: each is refused where the other belongs.
- With a live key, the proof needs a verified identity, as every change to listings does, and an account may ask for upload URLs for 120 files an hour; a request that would go past that gets none and answers `429 rate_limited` with `Retry-After`.

| What is wrong | The answer |
| --- | --- |
| An upload of `proof_of_purchase_upload_ids` is another account’s or of the other mode, or there is none with this id | `422 validation_failed` at `proof_of_purchase_upload_ids[i]` |
| It is an upload of the delivery of a sale | `422 validation_failed` at `proof_of_purchase_upload_ids[i]` |
| It went with other listings already | `422 validation_failed` at `proof_of_purchase_upload_ids[i]` |
| It waited longer than 24 hours | `422 validation_failed` at `proof_of_purchase_upload_ids[i]` |
| Its file never came in, or is not the type or size its upload was announced with | `422 validation_failed` at `proof_of_purchase_upload_ids[i]` |
| A marketplace with `requires_proof` is in `marketplace_ids`, and the request has no proof | `422 validation_failed` at `marketplace_ids[i]` |
| The file storage did not answer | `503 service_unavailable`: send the same request again after `Retry-After` |

`422 validation_failed` names the upload by its place in `proof_of_purchase_upload_ids`:

```json
{
  "error": {
    "code": "validation_failed",
    "message": "This upload is for the delivery of a sale. A proof of purchase takes uploads from `POST /v1/listings/proof-of-purchase/uploads`.",
    "details": {
      "issues": [
        {
          "path": "proof_of_purchase_upload_ids[0]",
          "message": "This upload is for the delivery of a sale. A proof of purchase takes uploads from `POST /v1/listings/proof-of-purchase/uploads`."
        }
      ]
    }
  },
  "request_id": "req_7d1f3b9e5a2c8f0d4b6e1a9c"
}
```

| Limit | Live | Test |
| --- | --- | --- |
| Files in one proof of purchase | 10 | 10 |
| Size of one file | 10 MB | 4 MB |
| Time an upload URL takes its file | 15 minutes | 15 minutes |
| Time an upload waits to go with new listings | 24 hours | 24 hours |
| Files given an upload URL, per account, an hour | 120 | 120, together with the uploads of deliveries |
| Files one upload URL takes in 10 minutes | No limit of its own | 10 |

The whole proof of purchase in Node 18 or newer:

```javascript
import { randomUUID } from 'node:crypto'
import { readFile } from 'node:fs/promises'

const BASE = 'https://www.syncseats.com/api/v1'
const KEY = 'Bearer ssapi_test_...'

async function send(path, body) {
  const response = await fetch(BASE + path, {
    method: 'POST',
    headers: { Authorization: KEY, 'Content-Type': 'application/json', 'Idempotency-Key': randomUUID() },
    body: JSON.stringify(body),
  })
  const answer = await response.json()
  if (!response.ok) throw new Error(response.status + ' ' + answer.error.code + ': ' + answer.error.message)
  return answer
}

async function createWithProof(body, files) {
  const contents = await Promise.all(files.map(file => readFile(file.path)))
  // 1. An upload URL for each file of the proof
  const { uploads } = await send('/listings/proof-of-purchase/uploads', {
    files: files.map((file, i) => ({ content_type: file.contentType, size: contents[i].length })),
  })
  // 2. Each file, with exactly the headers of its upload and without the key
  for (const [i, upload] of uploads.entries()) {
    const put = await fetch(upload.upload_url, { method: upload.method, headers: upload.headers, body: contents[i] })
    if (!put.ok) throw new Error('The upload was refused: ' + put.status)
  }
  // 3. The listings, with the proof for every ticket group
  return send('/listings', { ...body, proof_of_purchase_upload_ids: uploads.map(upload => upload.id) })
}

const body = {
  event_id: '6718d2f4a9c3b17e5d204a61',
  listings: [
    {
      section: '112',
      row: 'F',
      seats: ['14', '15'],
      price_per_ticket: { amount: '412.00', currency: 'USD' },
      face_value: { amount: '195.00', currency: 'USD' },
      cost_per_ticket: { amount: '280.00', currency: 'USD' },
      reference: '48211',
    },
  ],
}
const files = [{ path: 'order-confirmation-48211.pdf', contentType: 'application/pdf' }]
const batch = await createWithProof(body, files)
console.log(batch.listings.map(listing => listing.proof_of_purchase_files), batch.skipped)
```

The same in Python:

```python
import uuid

import requests

BASE = "https://www.syncseats.com/api/v1"
KEY = "Bearer ssapi_test_..."


def send(path: str, body: dict) -> dict:
    headers = {"Authorization": KEY, "Idempotency-Key": str(uuid.uuid4())}
    response = requests.post(BASE + path, headers=headers, json=body)
    response.raise_for_status()
    return response.json()


def create_with_proof(body: dict, files: list[tuple[str, str]]) -> dict:
    contents = []
    for path, _ in files:
        with open(path, "rb") as f:
            contents.append(f.read())
    # 1. An upload URL for each file of the proof
    uploads = send("/listings/proof-of-purchase/uploads", {
        "files": [{"content_type": kind, "size": len(content)} for (_, kind), content in zip(files, contents)],
    })["uploads"]
    # 2. Each file, with exactly the headers of its upload and without the key
    for upload, content in zip(uploads, contents):
        requests.put(upload["upload_url"], headers=upload["headers"], data=content).raise_for_status()
    # 3. The listings, with the proof for every ticket group
    return send("/listings", {**body, "proof_of_purchase_upload_ids": [upload["id"] for upload in uploads]})


body = {
    "event_id": "6718d2f4a9c3b17e5d204a61",
    "listings": [
        {
            "section": "112",
            "row": "F",
            "seats": ["14", "15"],
            "price_per_ticket": {"amount": "412.00", "currency": "USD"},
            "face_value": {"amount": "195.00", "currency": "USD"},
            "cost_per_ticket": {"amount": "280.00", "currency": "USD"},
            "reference": "48211",
        },
    ],
}
batch = create_with_proof(body, [("order-confirmation-48211.pdf", "application/pdf")])
print([listing["proof_of_purchase_files"] for listing in batch["listings"]], batch["skipped"])
```

In the sandbox the upload URLs lead to SyncSeats itself and take smaller files: [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode#proof) has the details.

### Keeping your own system in step

- Read [`GET /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#list-listings) with `updated_since` to get what changed since you last looked.
- Or let [webhooks](https://www.syncseats.com/developers/docs/webhooks) tell you: `listing.live`, `listing.updated`, `listing.action_required` and `sale.created` cover most of what happens to a listing.
- Before a change that depends on what is left, read the listing and send its version. A refusal such as `listing_changed` is the API doing its work, not a fault.

## Sales and money

Read sales with their fees and deadlines, hand in their delivery, and follow the money from the marketplace to your bank account.

### A sale

A sale is tickets of one listing that sold on one marketplace. Its `id` is SyncSeats’ invoice number, the one the dashboard shows with a `#` in front. `listing_id` leads back to the listing, and a listing that sells in parts has a sale for each part.

[`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) lists sales and [`GET /v1/sales/{id}`](https://www.syncseats.com/developers/docs/api-sales#get-sale) returns one; that needs `sales:read`. With `sales:write` your software also hands in the delivery of a sale, as you do in the dashboard: [Deliver a sale](https://www.syncseats.com/developers/docs/sales-and-money#deliver) explains how.

Request:

```bash
curl "https://www.syncseats.com/api/v1/sales/1761470400000123" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```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": { "amount": "639.55", "currency": "EUR" },
    "status": "paid",
    "payout_id": "PR-2026-0284",
    "ready_at": "2026-11-13T10:05:22.000Z",
    "paid_at": "2026-11-16T08:31:07.000Z"
  },
  "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"
  }
}
```

### Your reference on a sale

`listing_reference` is the `reference` of the listing the tickets came from, your own number for it, as the listing has it now; it is `null` when the listing has none. In a webhook event it is the reference the listing had when the event happened.

[`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) filters by it, so your software finds the sales of a listing by its own number:

Request:

```bash
curl "https://www.syncseats.com/api/v1/sales?listing_reference=48211&status=awaiting_delivery" \
  -H "Authorization: Bearer ssapi_test_..."
```

`listing_reference` matches exactly the value you send: upper and lower case count, and spaces at either end are dropped. It finds sales of your own listings only, whoever else uses the same reference.

### Where a sale stands

| Status | What it means |
| --- | --- |
| `awaiting_delivery` | Sold; the tickets are still to deliver. |
| `awaiting_confirmation` | A proof of delivery is in; our team confirms it. |
| `delivered` | Delivered and confirmed. |
| `cancelled` | Cancelled. `cancellation` says why, `charges` what it cost. |
| `failed` | The delivery failed without the sale being cancelled yet. |

[`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) filters by `status`: ask for `awaiting_delivery` to get what is still to deliver.

### The two deadlines

`deliver_by` is the transfer due date: deliver the tickets by then. `in_hand_by` is the marketplace’s last moment for the buyer to have the tickets; after it the sale can be cancelled with a charge. Plan by `deliver_by`.

The `sale.delivery_due` webhook tells you when a sale is still to deliver and its deadline is close.

### Deliver a sale

Your software transfers the tickets to the buyer, in the ticketing app of the event or as files. Then it hands the delivery in through the API, with the files that show it, as you would in the dashboard. That needs a key with `sales:write`, and a live key also needs a verified identity. A key created before this permission existed does not have it: create a new key with [Read and write](https://www.syncseats.com/developers/docs/authentication#permissions).

A delivery goes in three steps:

1. [`POST /v1/sales/{id}/delivery/uploads`](https://www.syncseats.com/developers/docs/api-sales#create-delivery-uploads) announces each file with its `content_type` and its `size` in bytes: up to 8 files, each `application/pdf`, `image/jpeg` or `image/png`, of up to 10 MB. The answer has an upload for each, with its `id` and its `upload_url`.
2. `PUT` each file to its `upload_url` with exactly the `headers` of its upload. The URL is no endpoint of the API: it carries its own signature, so send no `Authorization` header, and a file of another type or length is refused. It takes the file for 15 minutes, until `expires_at`.
3. [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) hands the delivery in with its `method` and the `upload_ids` of the files. Every delivery has at least one file. Each file is copied to a place of its own as it is handed in: a file put to the URL after that changes nothing of the delivery.

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sales/1761470400000123/delivery/uploads" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-uploads" \
  -d '{
    "files": [
      { "content_type": "image/png", "size": 182344 }
    ]
  }'
```

Response, `201`:

```json
{
  "object": "upload_batch",
  "sale_id": "1761470400000123",
  "uploads": [
    {
      "id": "upl_Qm3kV8xT1pLw7aRz5cHn0sJd",
      "upload_url": "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Qm3kV8xT1pLw7aRz5cHn0sJd.1794406390.Xr4pTq9LmV2wZc7KbN1sHd6Gf3Jy8Ue0Ao5Ri2Wk7Qz",
      "method": "PUT",
      "headers": {
        "Content-Type": "image/png",
        "Content-Length": "182344"
      },
      "content_type": "image/png",
      "size": 182344,
      "expires_at": "2026-11-11T14:13:10.000Z"
    }
  ]
}
```

The file goes to the URL of its upload:

Upload with curl:

```bash
curl -X PUT "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Qm3kV8xT1pLw7aRz5cHn0sJd.1794406390.Xr4pTq9LmV2wZc7KbN1sHd6Gf3Jy8Ue0Ao5Ri2Wk7Qz" \
  -H "Content-Type: image/png" \
  -H "Content-Length: 182344" \
  --data-binary @transfer-48211.png
```

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sales/1761470400000123/delivery" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-delivery" \
  -d '{
    "method": "transfer_proof",
    "upload_ids": ["upl_Qm3kV8xT1pLw7aRz5cHn0sJd"]
  }'
```

The answer is the sale, now `awaiting_confirmation`, with what was handed in under `delivery`.

The whole delivery in Node 18 or newer:

```javascript
import { randomUUID } from 'node:crypto'
import { readFile } from 'node:fs/promises'

const BASE = 'https://www.syncseats.com/api/v1'
const KEY = 'Bearer ssapi_test_...'

async function send(path, body) {
  const response = await fetch(BASE + path, {
    method: 'POST',
    headers: { Authorization: KEY, 'Content-Type': 'application/json', 'Idempotency-Key': randomUUID() },
    body: JSON.stringify(body),
  })
  const answer = await response.json()
  if (!response.ok) throw new Error(response.status + ' ' + answer.error.code + ': ' + answer.error.message)
  return answer
}

async function deliver(saleId, path, contentType) {
  const file = await readFile(path)
  // 1. An upload URL for the file
  const { uploads } = await send('/sales/' + saleId + '/delivery/uploads', {
    files: [{ content_type: contentType, size: file.length }],
  })
  // 2. The file, with exactly the headers of its upload and without the key
  const put = await fetch(uploads[0].upload_url, { method: uploads[0].method, headers: uploads[0].headers, body: file })
  if (!put.ok) throw new Error('The upload was refused: ' + put.status)
  // 3. The delivery
  return send('/sales/' + saleId + '/delivery', {
    method: 'transfer_proof',
    upload_ids: [uploads[0].id],
  })
}

const sale = await deliver('1761470400000123', 'transfer-48211.png', 'image/png')
console.log(sale.status, sale.delivery)
```

The same in Python:

```python
import uuid

import requests

BASE = "https://www.syncseats.com/api/v1"
KEY = "Bearer ssapi_test_..."


def send(path: str, body: dict) -> dict:
    headers = {"Authorization": KEY, "Idempotency-Key": str(uuid.uuid4())}
    response = requests.post(BASE + path, headers=headers, json=body)
    response.raise_for_status()
    return response.json()


def deliver(sale_id: str, path: str, content_type: str) -> dict:
    with open(path, "rb") as f:
        file = f.read()
    # 1. An upload URL for the file
    upload = send(f"/sales/{sale_id}/delivery/uploads", {
        "files": [{"content_type": content_type, "size": len(file)}],
    })["uploads"][0]
    # 2. The file, with exactly the headers of its upload and without the key
    requests.put(upload["upload_url"], headers=upload["headers"], data=file).raise_for_status()
    # 3. The delivery
    return send(f"/sales/{sale_id}/delivery", {
        "method": "transfer_proof",
        "upload_ids": [upload["id"]],
    })


sale = deliver("1761470400000123", "transfer-48211.png", "image/png")
print(sale["status"], sale["delivery"])
```

#### How the tickets went

`method` says how you delivered:

| Method | What the files are |
| --- | --- |
| `transfer_proof` | The tickets were transferred in the ticketing app; the files are screenshots or PDFs that show the transfer. |
| `pdf` | The files are the tickets themselves, as PDFs. |
| `transfer_link` | The buyer gets the tickets through links, one per ticket; the files show them. |

With `transfer_link` the request also carries the links for the buyer, one for each ticket: either `transfer_links`, or `wallet_links` with an Apple and a Google Wallet link for each ticket, up to 20 of them. `buyer_note`, up to 300 characters, is what the buyer reads beside them; as in the dashboard, a note with contact details is refused.

```json
{
  "method": "transfer_link",
  "upload_ids": ["upl_Qm3kV8xT1pLw7aRz5cHn0sJd"],
  "transfer_links": [
    "https://tickets.example.com/transfer/48211-14",
    "https://tickets.example.com/transfer/48211-15"
  ],
  "buyer_note": "Open each link on the phone you bring to the stadium."
}
```

`note`, up to 500 characters, is for our team. `recipient` says who you transferred the tickets to, when that is not the recipient the marketplace named.

#### What happens then

- The sale is `awaiting_confirmation`, and your webhook endpoints get `sale.proof_submitted`, as after a delivery in the dashboard. With a live key you get the same email as well.
- Our team looks at the delivery. Once it is confirmed, the sale is `delivered` and `sale.delivered` goes out.
- If our team resets it, `delivery` is `null` again, the sale waits for a delivery, and `sale.proof_reset` carries the reason. Deliver again.
- A delivery handed in again while the sale is `awaiting_confirmation` replaces the one before as a whole: its files, its links and its notes. Unlike the dashboard, the API keeps no link of the delivery before, so send every link again.

`delivery` shows the delivery that counts now, wherever it was handed in: its method, its files with their names, types and sizes, how many links it has, when it was handed in and `via`, which is `dashboard`, `api` or `syncseats` when our team handed it in for you. It never shows the links themselves or where the files are kept. [Delivery of a sale](https://www.syncseats.com/developers/docs/api-sales#object-sale-delivery) lists its fields.

#### Uploads, and what is refused

An upload belongs to the account and the mode of the key that asked for it, and to one sale. It goes into one delivery. A delivery that is refused gives its uploads back, so you can send it again with the same ones. An upload that is not handed in within 24 hours is gone; ask for a new one.

| What is wrong | The answer |
| --- | --- |
| The sale is not yours, or there is none with this id | `404 not_found` |
| The sale is delivered, cancelled or failed | `409 sale_not_deliverable` |
| An upload of `upload_ids` is another sale’s or another account’s, was handed in before, is past its time, or its file never came in | `422 validation_failed` at `upload_ids[i]` |
| An upload is one of a [proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) | `422 validation_failed` at `upload_ids[i]` |
| A `pdf` delivery names an image | `422 validation_failed` at `upload_ids[i]` |
| The file that arrived is not the type or size its upload was announced with | `422 validation_failed` at `upload_ids[i]` |
| `buyer_note` carries contact details or links | `422 validation_failed` at `buyer_note` |
| The sale changed while the delivery was handed in, or another delivery of it came in at the same time | `409 conflict`: read the sale again |
| The file storage did not answer | `503 service_unavailable`: send the same request again after `Retry-After` |

`422 validation_failed` names the upload by its place in `upload_ids`:

```json
{
  "error": {
    "code": "validation_failed",
    "message": "The file of this upload has not arrived. PUT it to its `upload_url` with the headers given, then hand the delivery in.",
    "details": {
      "issues": [
        {
          "path": "upload_ids[0]",
          "message": "The file of this upload has not arrived. PUT it to its `upload_url` with the headers given, then hand the delivery in."
        }
      ]
    }
  },
  "request_id": "req_2c9e4a7f1b3d5e8a0c6f9b2d"
}
```

A sale that takes no delivery any more gets `409 sale_not_deliverable`, with its status in `details.status`:

```json
{
  "error": {
    "code": "sale_not_deliverable",
    "message": "The sale is delivered and confirmed; it takes no delivery.",
    "details": { "status": "delivered" }
  },
  "request_id": "req_8f3a1c5e7b9d2f4a6c8e0b1d"
}
```

Send [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) with an `Idempotency-Key`. When its answer gets lost and you send the same request with the same key, you get the same answer, and nothing is handed in twice: no second email, no second event. [Safe retries](https://www.syncseats.com/developers/docs/safe-retries) explains how it works.

With a live key, an account may ask for upload URLs 120 times an hour, together with the uploads of the dashboard. Past that the answer is `429 rate_limited` with `Retry-After`.

| Limit | Live | Test |
| --- | --- | --- |
| Files in one delivery | 8 | 8 |
| Size of one file | 10 MB | 4 MB |
| Time an upload URL takes its file | 15 minutes | 15 minutes |
| Time an upload waits to be handed in | 24 hours | 24 hours |
| Links for the buyer | 20 | 20 |
| Characters of `buyer_note` | 300 | 300 |
| Characters of `note` | 500 | 500 |
| Requests to `POST /v1/sales/{id}/delivery/uploads`, per account, an hour | 120, together with the uploads of the dashboard | No limit of its own |
| Files given an upload URL, per account, an hour | No limit of its own | 120, together with the uploads of a proof of purchase |
| Files one upload URL takes in 10 minutes | No limit of its own | 10 |

> **A delivery is no proof of purchase** The files of a delivery show that the buyer got the tickets. The proof of purchase some marketplaces ask for before they take a listing is something else, with upload URLs of its own from [`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads): see [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof). An upload of the one is refused for the other.

In the sandbox the upload URLs lead to SyncSeats itself and take smaller files: [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode#deliver) has the details.

### What a sale pays

`price` is the total for all tickets of the sale, in USD, as the marketplace reported it, before its commission and the SyncSeats fee. Per ticket it is `price` divided by `quantity`.

Two fees come off it: `fees.marketplace`, the commission of the marketplace, and `fees.syncseats`, the SyncSeats fee, which is taken from what is left after the commission. `payout.amount` is what you receive. For the example sale:

| The example sale | Amount |
| --- | --- |
| The price of the sale: 2 tickets at $412.00, as the marketplace reported it | $824.00 |
| The marketplace keeps 5% | −$41.20 |
| SyncSeats keeps 5% of what is left | −$39.14 |
| You receive | $743.66 |

These amounts are in USD. `payout.amount_eur` is the same in EUR. It is `null` until the marketplace has paid and fixed from then on, since payouts are sent in EUR.

A listing priced in another currency was converted to USD when it was created or repriced, and nothing about it is converted again when its tickets sell: [Money](https://www.syncseats.com/developers/docs/conventions#money) explains the rate.

### Where the payout of a sale stands

`payout.status` follows the money of one sale:

| Status | What it means |
| --- | --- |
| `awaiting_marketplace` | The marketplace has not paid SyncSeats for the sale yet. |
| `ready` | It can go into your next payout. |
| `in_payout` | It is part of a payout you requested. |
| `paid` | It was paid out to you. |
| `blocked` | On hold, for example after a cancellation or a dispute. |

Once a sale is in a payout, `payout.payout_id` names it. [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) filters by `payout_status`: `ready` are the sales your next payout can take.

### The balance

[`GET /v1/balance`](https://www.syncseats.com/developers/docs/api-payouts#get-balance) adds your sales up by where their payout stands:

| Field | What it adds up |
| --- | --- |
| `ready` | Sales the marketplace has paid for and that are in no payout yet. Charges, VAT and the transfer cost come off when you request the payout. |
| `awaiting_marketplace` | Sales the marketplace has not paid for yet. |
| `in_payout` | Sales in a payout you requested that has not been sent yet. |
| `paid` | Sales that were paid out. |
| `open_charges` | Charges your next payout deducts, in USD. |
| `payment_requests_open` | What is still to transfer for payment requests, in USD. |

Request:

```bash
curl "https://www.syncseats.com/api/v1/balance" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "balance",
  "ready": {
    "amount": { "amount": "743.66", "currency": "USD" },
    "sales": 1
  },
  "awaiting_marketplace": {
    "amount": { "amount": "0.00", "currency": "USD" },
    "sales": 0
  },
  "in_payout": {
    "amount": { "amount": "0.00", "currency": "USD" },
    "sales": 0
  },
  "paid": {
    "amount": { "amount": "0.00", "currency": "USD" },
    "sales": 0
  },
  "open_charges": { "amount": "0.00", "currency": "USD" },
  "payment_requests_open": { "amount": "0.00", "currency": "USD" }
}
```

### Payouts

A payout is money sent to your bank account for a set of sales. You request a payout in the dashboard, where it takes your bank details and your second factor. The API shows payouts and cannot request one.

| Status | What it means |
| --- | --- |
| `requested` | You asked for it; our team has not started it yet. |
| `processing` | Our team is sending it. |
| `paid` | Sent to your bank account. |
| `blocked` | On hold. `status_reason` says why. |
| `cancelled` | Withdrawn; its sales are ready for a payout again. |

`amount` is what is sent to your bank account, in EUR. `sales_total` is what its sales add up to before anything comes off, and `deductions` says what came off: charges, VAT on the SyncSeats fee where it applies, and the cost of the bank transfer.

`sales` lists the sales a payout covers, so every payout can be matched to its sales in your books.

Request:

```bash
curl "https://www.syncseats.com/api/v1/payouts/PR-2026-0284" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "payout",
  "id": "PR-2026-0284",
  "status": "paid",
  "status_reason": null,
  "amount": { "amount": "629.66", "currency": "EUR" },
  "sales_total": { "amount": "639.55", "currency": "EUR" },
  "deductions": {
    "charges": null,
    "vat": { "amount": "6.95", "currency": "EUR" },
    "transfer_fee": { "amount": "2.94", "currency": "EUR" }
  },
  "sales": [
    {
      "sale_id": "1761470400000123",
      "listing_id": "671f3a9c2b7d4e0f1ae48211",
      "event_name": "World Tour 2026, Night 2",
      "event_starts_at": "2026-12-12T19:30:00.000Z",
      "price": { "amount": "824.00", "currency": "USD" },
      "payout": { "amount": "743.66", "currency": "USD" }
    }
  ],
  "requested_at": "2026-11-13T10:12:40.000Z",
  "paid_at": "2026-11-16T08:31:07.000Z"
}
```

### Charges

A charge is a penalty for a sale, for example after a cancellation. Charges are in USD. A sale lists its own under `charges`, and [`GET /v1/charges`](https://www.syncseats.com/developers/docs/api-sales#list-charges) lists them all.

| Status | What it means |
| --- | --- |
| `open` | Your next payout deducts it. |
| `in_payment_request` | Part of a payment request to you. |
| `settled` | Deducted from a payout or paid with a payment request. |
| `cancelled` | Withdrawn. |

### Payment requests

Your next payout deducts an open charge. When no payout settles it, SyncSeats asks you to pay it with a payment request. [`GET /v1/payment-requests`](https://www.syncseats.com/developers/docs/api-payouts#list-payment-requests) shows each with what is still to transfer under `remaining`, the day to pay by under `pay_by` and the charges it covers.

A payment request holds its amount in USD and in EUR; either amount settles it. Its `status` is one of `open`, `paid`, `written_off` or `returned`.

### The transfer recipient

Who the tickets of a sale go to is personal data of a buyer. A key sees it only with the permission `recipients:read`. Without it a sale has no `recipient` field at all. With it the field is there, and is `null` until the marketplace has named someone:

recipient:

```json
{
  "name": "Jamie Clarke",
  "email": "jamie.clarke@example.com",
  "phone": "+44 7700 900123"
}
```

Give a key this permission only when your software transfers tickets itself, and keep the data no longer than the transfer needs it.

### Keeping your books in step

- New sales: [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) with `sold_since`, or the `sale.created` webhook.
- The sales of one of your listings: [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) with `listing_reference`, your own number for the listing, or with `listing_id`.
- Sales to deliver: [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) with `status` set to `awaiting_delivery`, each handed in with [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) once the tickets are transferred.
- Sales that are not finished change after they are made. Read them again until `status` and `payout.status` have reached their end, or follow `sale.proof_reset`, `sale.delivered`, `sale.cancelled`, `sale.payout_ready` and `payout.paid`.
- Payouts: [`GET /v1/payouts`](https://www.syncseats.com/developers/docs/api-payouts#list-payouts), then the sales of each. [Webhooks](https://www.syncseats.com/developers/docs/webhooks) explains how to receive the events.
- What a sale earned against what its tickets cost, and the sales you make outside SyncSeats: the entry of its listing in [the inventory](https://www.syncseats.com/developers/docs/working-with-inventory).

## Working with the inventory

Your ticket purchases with what they cost and earned, the entries of your listings, and the sales you make outside SyncSeats.

### An entry

The inventory is what the Inventory page of the dashboard shows: your ticket purchases, what they cost and what they sold for. Each entry is one of two kinds:

- A purchase you recorded yourself: in the dashboard, from a sheet, from an order confirmation you forwarded, or with [`POST /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-item). Its `listing_id` is `null`.
- A SyncSeats listing of yours. Its `id` is the listing’s id, and so is its `listing_id`. The id stays the listing’s once you record details of your own on the entry, so the id you keep for a listing finds its entry with [`GET /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#get-inventory-item) too. Its sales are the sales of the listing.

This is Sam Keller’s listing for World Tour 2026, Night 2, Section 112, Row F, in his inventory, once he noted where and when he bought its tickets:

Request:

```bash
curl "https://www.syncseats.com/api/v1/inventory/671f3a9c2b7d4e0f1ae48211" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "inventory_item",
  "id": "671f3a9c2b7d4e0f1ae48211",
  "listing_id": "671f3a9c2b7d4e0f1ae48211",
  "source": "syncseats",
  "status": "sold",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a61",
    "name": "World Tour 2026, Night 2",
    "venue": "Wembley Stadium",
    "starts_at_local": "2026-12-12T19:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 2,
  "section": "112",
  "row": "F",
  "seats": ["14", "15"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-02",
    "amount": { "amount": "560.00", "currency": "USD" },
    "cost_per_ticket": { "amount": "280.00", "currency": "USD" }
  },
  "totals": {
    "selling": { "amount": "824.00", "currency": "USD" },
    "payout": { "amount": "743.66", "currency": "USD" },
    "profit": { "amount": "183.66", "currency": "USD" },
    "margin_percent": 32.8
  },
  "open_transfers": 1,
  "note": null,
  "listing_status": "sold",
  "sales": [
    {
      "object": "inventory_sale",
      "id": "1761470400000123",
      "origin": "syncseats",
      "sale_id": "1761470400000123",
      "channel": "SyncSeats",
      "marketplace": "Viagogo",
      "order_id": null,
      "quantity": 2,
      "sold_at": "2026-11-11T11:48:12.000Z",
      "selling": { "amount": "824.00", "currency": "USD" },
      "payout": { "amount": "743.66", "currency": "USD" },
      "profit": { "amount": "183.66", "currency": "USD" },
      "transferred": false,
      "cancelled": false,
      "delivery_status": "awaiting_delivery"
    }
  ],
  "created_at": "2026-11-11T09:26:41.000Z",
  "updated_at": "2026-11-11T12:05:18.000Z"
}
```

The examples on this page are as a live key sees them, since a listing has no entry in the sandbox: [In the sandbox](https://www.syncseats.com/developers/docs/working-with-inventory#sandbox) says what differs there.

`source` says how an entry came into the inventory:

| Source | What it means |
| --- | --- |
| `manual` | Recorded by hand, in the dashboard or through the API. |
| `import` | Imported from a sheet in the dashboard. |
| `email` | Read from an order confirmation you forwarded to SyncSeats. |
| `syncseats` | A SyncSeats listing of yours. |

`status` says where the tickets stand. The sales decide it:

| Status | What it means |
| --- | --- |
| `in_stock` | Bought, not on sale and not sold. |
| `listed` | On sale on SyncSeats, nothing sold yet. |
| `partially_sold` | Some of the tickets sold. |
| `sold` | Every ticket sold. |
| `paid_out` | Every ticket sold, and the payout of every sale is in. |

A `status` you send replaces the one the sales give, and `null` lets the sales decide again.

### Entries of your listings

The entry of a listing shows the event, the tickets and the sales of the listing. Those belong to the listing and change there, with [the endpoints of listings](https://www.syncseats.com/developers/docs/api-listings) or in the dashboard. On the entry, [`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) changes three things:

- `purchase`: where and when you bought the tickets, and what they cost.
- `note`: a note for yourself, up to 5,000 characters.
- `status`: a status of your own.

Request:

```bash
curl -X PATCH "https://www.syncseats.com/api/v1/inventory/671f3a9c2b7d4e0f1ae48211" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-purchase" \
  -d '{
    "purchase": {
      "platform": "Ticketmaster",
      "date": "2026-10-02"
    }
  }'
```

The date of the purchase sets the day whose rate converts its amount into the listing’s cost, so the request also takes `listings:write`, as an amount does. Sam’s key has the set Read and write, which holds both; [The purchase becomes the cost of the listing](https://www.syncseats.com/developers/docs/working-with-inventory#cost) explains why.

Until you record an amount, the entry shows the listing’s cost as what its tickets cost, in the currency the listing was created in: here $280.00 a ticket, $560.00 for both.

Anything else gets `409 conflict`, with the reason in the message:

```json
{
  "error": {
    "code": "conflict",
    "message": "This entry belongs to a SyncSeats listing. Change its event, tickets and seats on the listing; here only `purchase`, `note` and `status`."
  },
  "request_id": "req_9a1c3e5b7d2f4a6c8e0b2d4f"
}
```

What the entry of a listing refuses, and how:

| What the request asks of the entry of a listing | The answer |
| --- | --- |
| [`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) with `event`, `quantity`, `section`, `row` or `seats` | `409 conflict`: change the tickets on the listing |
| [`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) with the amount or the date of the purchase, from a key without `listings:write` | `403 insufficient_scope`, with `details.required` naming `listings:write` |
| The same from a live key, before your identity is verified | `403 kyc_required` |
| An amount that makes the cost per ticket more than a listing takes | `422 validation_failed` at `purchase.amount.amount` |
| [`DELETE /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-item) | `409 conflict`: the entry leaves the inventory when the listing is deleted |
| [`POST /v1/inventory/{id}/sales`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-sale) | `409 conflict`: the sales of a listing come from the marketplaces |
| [`PATCH /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-sale) or [`DELETE /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-sale) for a sale through SyncSeats | `409 conflict`: a sale through SyncSeats stays as the marketplace reported it |

#### The purchase becomes the cost of the listing

An amount you record on the entry of a listing does more than note what you paid: it becomes the cost of the listing. Say the fees of the primary seller came on top, and the two tickets cost $600.00 in all:

```json
{
  "purchase": {
    "amount": { "amount": "600.00", "currency": "USD" }
  }
}
```

- The listing’s `cost_per_ticket` is then $300.00, the amount divided by its tickets, and [`GET /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#get-listing) shows it.
- An amount in `EUR` or `GBP` stays in its currency on the entry. The listing gets it in USD, at the rate of the day of the purchase.
- `null` for the amount removes the cost from the entry and from the listing.
- A new cost set on the listing, in the dashboard or with [`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing), shows on the entry in turn.
- A marketplace that asks for a face value gets the cost when the listing has no face value of its own, as with a cost set on the listing: [Face value](https://www.syncseats.com/developers/docs/working-with-listings#face-value) explains it.
- Since it changes the listing, the amount or the date of the purchase on the entry of a listing takes `listings:write` besides `inventory:write`, and with a live key a verified identity, as every change of a listing does: the date sets the day whose rate converts the amount. Without it the answer is `403 insufficient_scope`, or `403 kyc_required` before your identity is verified. The platform, the note and the status need no more than `inventory:write`.
- A cost per ticket above what a listing takes is refused at `purchase.amount.amount`.

#### Sales through SyncSeats

The sales of a listing are under `sales` of its entry, with `origin` `syncseats`. Each goes by SyncSeats’ invoice number, in `id` and in `sale_id`, the id [`GET /v1/sales/{id}`](https://www.syncseats.com/developers/docs/api-sales#get-sale) takes. `delivery_status` is its status there, and the sale itself has its fees, deadlines and payout.

A sale through SyncSeats is the record the marketplace reported. It cannot be changed or deleted here.

### Recording a purchase

[`POST /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-item) records tickets you bought. Here Sam records two tickets for Derby Day he bought at Ticketmaster, and asks for the totals in pounds, as [Currencies](https://www.syncseats.com/developers/docs/working-with-inventory#money) explains:

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/inventory?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-derby-purchase" \
  -d '{
    "event": { "id": "6718d2f4a9c3b17e5d204a93" },
    "section": "105",
    "row": "C",
    "seats": ["21", "22"],
    "purchase": {
      "platform": "Ticketmaster",
      "date": "2026-10-20",
      "amount": { "amount": "150.00", "currency": "GBP" }
    }
  }'
```

Response, `201`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "listing_id": null,
  "source": "manual",
  "status": "in_stock",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at_local": "2026-11-29T15:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 0,
  "section": "105",
  "row": "C",
  "seats": ["21", "22"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-20",
    "amount": { "amount": "150.00", "currency": "GBP" },
    "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
  },
  "totals": {
    "selling": null,
    "payout": null,
    "profit": null,
    "margin_percent": null
  },
  "open_transfers": 0,
  "note": null,
  "listing_status": null,
  "sales": [],
  "created_at": "2026-11-04T10:04:51.000Z",
  "updated_at": "2026-11-04T10:04:51.000Z"
}
```

- `event` is an event of the catalog as `{ "id" }`, with the id from [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events), or an event the catalog does not have, with its `name`, `venue` and `starts_at_local`. An id the catalog does not know gets `422 validation_failed` at `event.id`, and so does the id of an event that [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events) does not show, as if it were not there.
- `seats` names each seat as an entry of its own, up to 500 of them; how many there are is the quantity. Tickets without seat numbers send `quantity` instead, from 1 to 10,000.
- `purchase` says where and when you bought them and what all of them cost together, in `USD`, `EUR` or `GBP`. The amount is kept as you sent it. Its `date` is a day from `2000-01-01` to `2099-12-31`; another gets `422 validation_failed` at `purchase.date`.
- `note`, up to 5,000 characters, is for yourself.

A seat is one seat. Two seats sent as one, such as `"14-15"`, are refused rather than read as two:

```json
{
  "event": { "id": "6718d2f4a9c3b17e5d204a61" },
  "section": "112",
  "row": "F",
  "seats": ["14-15"]
}
```

The answer:

```json
{
  "error": {
    "code": "validation_failed",
    "message": "Send each seat as its own entry, for example `[\"14\", \"15\"]` rather than `\"14-15\"`.",
    "details": {
      "issues": [
        {
          "path": "seats[0]",
          "message": "Send each seat as its own entry, for example `[\"14\", \"15\"]` rather than `\"14-15\"`."
        }
      ]
    }
  },
  "request_id": "req_4b8e2d6f0a1c3e5b7d9f1a2c"
}
```

Send [`POST /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-item) with an `Idempotency-Key`: the same request sent again gets the same answer, and the purchase is not recorded twice. [Safe retries](https://www.syncseats.com/developers/docs/safe-retries) explains how it works.

#### Changing and deleting a purchase

[`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) changes the fields of a purchase you send and leaves the others as they are; `null` removes a value. The quantity cannot go below the tickets sold. [`DELETE /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-item) deletes a purchase with its sales, and cannot be undone.

### Sales outside SyncSeats

Tickets you sell elsewhere, on a channel of your own or on another site, are recorded on their purchase with [`POST /v1/inventory/{id}/sales`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-sale). Sam sold the two tickets on his own website:

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/inventory/673a1c9e5b2d7f4e8c0a6b52/sales?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-derby-sale" \
  -d '{
    "channel": "Own website",
    "quantity": 2,
    "sold_at": "2026-11-08",
    "selling": { "amount": "190.00", "currency": "GBP" },
    "order_id": "SK-1042"
  }'
```

Response, `201`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "listing_id": null,
  "source": "manual",
  "status": "sold",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at_local": "2026-11-29T15:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 2,
  "section": "105",
  "row": "C",
  "seats": ["21", "22"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-20",
    "amount": { "amount": "150.00", "currency": "GBP" },
    "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
  },
  "totals": {
    "selling": { "amount": "190.00", "currency": "GBP" },
    "payout": { "amount": "190.00", "currency": "GBP" },
    "profit": { "amount": "40.00", "currency": "GBP" },
    "margin_percent": 26.7
  },
  "open_transfers": 1,
  "note": null,
  "listing_status": null,
  "sales": [
    {
      "object": "inventory_sale",
      "id": "673a1d2f8e4b6c0a9d3e5f71",
      "origin": "external",
      "sale_id": null,
      "channel": "Own website",
      "marketplace": null,
      "order_id": "SK-1042",
      "quantity": 2,
      "sold_at": "2026-11-08T00:00:00.000Z",
      "selling": { "amount": "190.00", "currency": "GBP" },
      "payout": null,
      "profit": { "amount": "40.00", "currency": "GBP" },
      "transferred": false,
      "cancelled": false,
      "delivery_status": null
    }
  ],
  "created_at": "2026-11-04T10:04:51.000Z",
  "updated_at": "2026-11-08T17:42:09.000Z"
}
```

- `channel` is where they sold, `selling` what the buyer paid for all of them, and `payout` what reached you, when that is less. Without a payout, the totals count what the buyer paid.
- `sold_at` is the day of the sale, from `2000-01-01` to `2099-12-31`; another gets `422 validation_failed` at `sold_at`.
- `order_id` is your own order number, and `transferred` says whether the tickets have gone to the buyer. `open_transfers` counts the sales whose tickets have not.
- Nothing about the buyer is taken: no name and no email address.
- The sales of an entry cannot come to more tickets than it has. A sale that would gets `422 validation_failed` at `quantity`.
- An entry takes up to 200 sales through the API, cancelled ones included, so that its answers stay small. The next one gets `409 conflict`, in the sandbox as with a live key.
- `note`, up to 2,000 characters, is for yourself.

Once the tickets are with the buyer, [`PATCH /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-sale) records it:

Request:

```bash
curl -X PATCH "https://www.syncseats.com/api/v1/inventory/673a1c9e5b2d7f4e8c0a6b52/sales/673a1d2f8e4b6c0a9d3e5f71?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-derby-sale-transferred" \
  -d '{ "transferred": true }'
```

[`DELETE /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-sale) deletes a sale you recorded and answers with the entry without it.

Sales outside SyncSeats go on purchases you recorded. A listing sells through its marketplaces, and its entry takes no sale of yours.

### Currencies and what an entry earned

- Amounts you record stay in the currency you recorded them in: `purchase`, and `selling` and `payout` of a sale outside SyncSeats. A sale through SyncSeats shows its price in USD, and its payout in USD until the marketplace has paid, then in EUR, as it is sent to you.
- `totals` and the `profit` of each sale are reckoned in the currency the request names with `currency`: `USD`, `EUR` or `GBP`, and `USD` when it names none. Every endpoint that answers with an entry takes it.
- Each amount converts at the rate of its own day: a purchase at the day it was bought, or the day it was recorded when it has none, and a sale at the day it was made. The same amount can count for a little more or less when the rate moved between those days.
- `profit` is what reached you less what the tickets of the sale cost, their share of the purchase. `totals.margin_percent` is the profit as a share of that cost. Without an amount in the purchase there is no profit to reckon, and both are `null`.
- Cancelled sales stay on the entry and count for nothing.
- A good currency to ask for is the one your dashboard shows: `account.display_currency` of [`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me), one of `USD`, `EUR` or `GBP`.

Sam’s software asks for the totals of his own purchases in pounds, the currency he paid in, so the Derby Day tickets add up as he knows them:

With currency set to GBP:

```json
{
  "selling": { "amount": "190.00", "currency": "GBP" },
  "payout": { "amount": "190.00", "currency": "GBP" },
  "profit": { "amount": "40.00", "currency": "GBP" },
  "margin_percent": 26.7
}
```

The list below asks in USD, and shows the same entry in dollars, while its purchase and its sale keep their pounds:

With currency set to USD:

```json
{
  "selling": { "amount": "241.30", "currency": "USD" },
  "payout": { "amount": "241.30", "currency": "USD" },
  "profit": { "amount": "50.80", "currency": "USD" },
  "margin_percent": 26.7
}
```

### The list

[`GET /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#list-inventory) returns your entries newest first, by when they came into the inventory: a listing when it was created, a purchase when it was recorded. It pages like every list, with `limit` and `cursor`, as [Lists and pages](https://www.syncseats.com/developers/docs/conventions#lists) explains. Four filters narrow it:

- `status`: entries with this status, such as `in_stock` for tickets bought and not on sale.
- `event_id`: entries for one event of the catalog.
- `listing_id`: the entry of one listing.
- `q`: entries whose event, venue or section holds the text, 2 to 100 characters, upper and lower case alike.

Request:

```bash
curl "https://www.syncseats.com/api/v1/inventory?status=sold" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "inventory_item",
      "id": "673a1c9e5b2d7f4e8c0a6b52",
      "listing_id": null,
      "source": "manual",
      "status": "sold",
      "event": {
        "id": "6718d2f4a9c3b17e5d204a93",
        "name": "Derby Day",
        "venue": "Emirates Stadium",
        "starts_at_local": "2026-11-29T15:30:00",
        "passed": false
      },
      "quantity": 2,
      "sold_quantity": 2,
      "section": "105",
      "row": "C",
      "seats": ["21", "22"],
      "purchase": {
        "platform": "Ticketmaster",
        "date": "2026-10-20",
        "amount": { "amount": "150.00", "currency": "GBP" },
        "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
      },
      "totals": {
        "selling": { "amount": "241.30", "currency": "USD" },
        "payout": { "amount": "241.30", "currency": "USD" },
        "profit": { "amount": "50.80", "currency": "USD" },
        "margin_percent": 26.7
      },
      "open_transfers": 0,
      "note": null,
      "listing_status": null,
      "sales": [
        {
          "object": "inventory_sale",
          "id": "673a1d2f8e4b6c0a9d3e5f71",
          "origin": "external",
          "sale_id": null,
          "channel": "Own website",
          "marketplace": null,
          "order_id": "SK-1042",
          "quantity": 2,
          "sold_at": "2026-11-08T00:00:00.000Z",
          "selling": { "amount": "190.00", "currency": "GBP" },
          "payout": null,
          "profit": { "amount": "50.80", "currency": "USD" },
          "transferred": true,
          "cancelled": false,
          "delivery_status": null
        }
      ],
      "created_at": "2026-11-04T10:04:51.000Z",
      "updated_at": "2026-11-08T18:10:33.000Z"
    },
    {
      "object": "inventory_item",
      "id": "671f3a9c2b7d4e0f1ae48211",
      "listing_id": "671f3a9c2b7d4e0f1ae48211",
      "source": "syncseats",
      "status": "sold",
      "event": {
        "id": "6718d2f4a9c3b17e5d204a61",
        "name": "World Tour 2026, Night 2",
        "venue": "Wembley Stadium",
        "starts_at_local": "2026-12-12T19:30:00",
        "passed": false
      },
      "quantity": 2,
      "sold_quantity": 2,
      "section": "112",
      "row": "F",
      "seats": ["14", "15"],
      "purchase": {
        "platform": "Ticketmaster",
        "date": "2026-10-02",
        "amount": { "amount": "560.00", "currency": "USD" },
        "cost_per_ticket": { "amount": "280.00", "currency": "USD" }
      },
      "totals": {
        "selling": { "amount": "824.00", "currency": "USD" },
        "payout": { "amount": "743.66", "currency": "USD" },
        "profit": { "amount": "183.66", "currency": "USD" },
        "margin_percent": 32.8
      },
      "open_transfers": 1,
      "note": null,
      "listing_status": "sold",
      "sales": [
        {
          "object": "inventory_sale",
          "id": "1761470400000123",
          "origin": "syncseats",
          "sale_id": "1761470400000123",
          "channel": "SyncSeats",
          "marketplace": "Viagogo",
          "order_id": null,
          "quantity": 2,
          "sold_at": "2026-11-11T11:48:12.000Z",
          "selling": { "amount": "824.00", "currency": "USD" },
          "payout": { "amount": "743.66", "currency": "USD" },
          "profit": { "amount": "183.66", "currency": "USD" },
          "transferred": false,
          "cancelled": false,
          "delivery_status": "awaiting_delivery"
        }
      ],
      "created_at": "2026-11-11T09:26:41.000Z",
      "updated_at": "2026-11-11T12:05:18.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### What the API leaves out

- Buyers. A sale in the inventory names no buyer, and a sale you record takes none. The transfer recipient of a sale through SyncSeats is on the sale, for a key with `recipients:read`.
- Ticket accounts. The dashboard keeps the account a purchase was made with; the API neither shows one nor takes one.
- Order numbers of marketplaces, and where a purchase came from beyond its source: the sheet it was imported from, the email it was read from.
- Webhooks. A change to the inventory sends no event. A sale through SyncSeats sends `sale.created` as always and shows on the entry of its listing; for the rest, read [`GET /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#list-inventory) when you need it.

### Permissions and limits

- Reading needs `inventory:read`, every change `inventory:write`. The set Read only has the first, the set Read and write both, as [Permissions](https://www.syncseats.com/developers/docs/authentication#permissions) shows.
- A key keeps the permissions it was created with. A key from before the inventory was part of the API has neither: create a new key and retire the old one.
- Changing the inventory needs no verified identity, with a live key too. The one exception changes a listing: the amount or the date of the purchase on the entry of a listing also takes `listings:write`, and with a live key a verified identity (see [The purchase becomes the cost of the listing](https://www.syncseats.com/developers/docs/working-with-inventory#cost)).
- Changes count against the limits for changes of your account, together with your changes to listings: 30 a minute and 600 an hour with a live key. They do not count against the limit all sellers share, since nothing goes to a marketplace. [Rate limits](https://www.syncseats.com/developers/docs/rate-limits) has the rest.

What one entry takes:

| Limit | Live | Test |
| --- | --- | --- |
| Tickets in one entry | 10,000 | 10,000 |
| Seats in one entry | 500 | 500 |
| Sales one entry takes, cancelled ones included | 200 | 200 |
| Days of `purchase.date` and `sold_at` | `2000-01-01` to `2099-12-31` | `2000-01-01` to `2099-12-31` |
| Characters of `note` of an entry | 5,000 | 5,000 |
| Characters of `note` of a sale | 2,000 | 2,000 |
| Entries | No limit of its own | 500 |

### In the sandbox

With a test key the inventory endpoints work on the sandbox, by the same rules and with the same answers, except for three things:

- The sandbox inventory holds only what you record in it. Sandbox listings have no entries, so `listing_id` is always `null`, `source` always `manual`, and no sale is through SyncSeats.
- Totals convert at fixed rates instead of the rate of each day: one euro is always $1.10 and one pound always $1.27, so a test gets the same totals every day.
- A sandbox holds up to 500 entries. Past that, recording a purchase gets `409 sandbox_full`.

[`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-reset) deletes the sandbox’s entries with the rest of it, and like all sandbox data they are deleted 90 days after their last change. [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode) explains the sandbox.

## Account API

The key a request was sent with: its mode, what it may do and its limits.

One endpoint, and a good first one to call: it works with every valid key and says what that key is and may do. [Authentication and permissions](https://www.syncseats.com/developers/docs/authentication) explains keys and permissions.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me) | The key in use | Any valid key |

### The key in use

`GET /v1/me`

Says which key a request was sent with: its mode, what it was given, what it can use right now, and its limits.

A good first request, since it works with every valid key.

- **Permission:** None: every valid key

#### Returns

Answers `200` with an API key object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `api_key`. |
| `id` | string (id) | The id of the key, not the key itself. |
| `name` | string |  |
| `mode` | string | `live` works on your account, `test` on its sandbox. One of `live` or `test`. |
| `scopes` | array of strings | What the key was given. Each is one of `listings:read`, `listings:write`, `sales:read`, `sales:write`, `recipients:read`, `payouts:read`, `inventory:read` or `inventory:write`. |
| `usable_scopes` | array of strings | What it can use right now. A live key cannot change listings or deliver sales until your identity is verified. Each is one of `listings:read`, `listings:write`, `sales:read`, `sales:write`, `recipients:read`, `payouts:read`, `inventory:read` or `inventory:write`. |
| `expires_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `limits` | object |  |
| `limits.requests_per_minute` | integer | Requests this key may send a minute. |
| `limits.account_requests_per_minute` | integer | Requests all keys of the account may send a minute. |
| `limits.writes_per_minute` | integer | Requests that change something, per account and minute. |
| `limits.writes_per_hour` | integer | Requests that change something, per account and hour. |
| `account` | object |  |
| `account.identity_verified` | boolean |  |
| `account.display_currency` | string | The currency the dashboard shows amounts in. One of `USD`, `EUR` or `GBP`. |

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/me" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "api_key",
  "id": "6740a1b2c3d4e5f601234567",
  "name": "POS sync",
  "mode": "test",
  "scopes": [
    "listings:read",
    "listings:write",
    "sales:read",
    "sales:write",
    "payouts:read",
    "inventory:read",
    "inventory:write"
  ],
  "usable_scopes": [
    "listings:read",
    "listings:write",
    "sales:read",
    "sales:write",
    "payouts:read",
    "inventory:read",
    "inventory:write"
  ],
  "expires_at": null,
  "limits": {
    "requests_per_minute": 120,
    "account_requests_per_minute": 240,
    "writes_per_minute": 60,
    "writes_per_hour": 1200
  },
  "account": {
    "identity_verified": true,
    "display_currency": "GBP"
  }
}
```

## Events and marketplaces API

What a listing is built from: the events of the catalog, your marketplaces and the ids of the listing options.

Every valid key can read these, whatever it was given, and nothing here can be changed through the API.

The catalog and the marketplaces are the same for live and test keys. The ids you find with a test key are the ids you use with a live one.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events) | Search events | Any valid key |
| [`GET /v1/events/{id}`](https://www.syncseats.com/developers/docs/api-catalog#get-event) | Get an event | Any valid key |
| [`GET /v1/marketplaces`](https://www.syncseats.com/developers/docs/api-catalog#list-marketplaces) | List marketplaces | Any valid key |
| [`GET /v1/listing-options`](https://www.syncseats.com/developers/docs/api-catalog#get-listing-options) | Listing options | Any valid key |

### Objects

The shapes the endpoints of this page answer with. A field that holds another object names it and links to it.

#### Event

An event of the SyncSeats catalog.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `event`. |
| `id` | string (id) | The id a listing is created with. |
| `name` | string | The name of the event, as the catalog writes it. |
| `starts_at_local` | string | Start on the venue’s wall clock, `YYYY-MM-DDTHH:mm:ss`. |
| `time_tba` | boolean | True when only the day is known; the time in `starts_at_local` is then `00:00:00`. |
| `timezone` | string or null | IANA time zone of the venue, when known. |
| `category` | string | One of `concert`, `sports`, `festival`, `theatre`, `musical`, `comedy` or `other`. |
| `subcategory` | string or null | A finer kind within the category, when the catalog has one. |
| `venue` | string or null | The name of the venue, when known. |
| `city` | string or null | The city of the venue, when known. |
| `country` | string or null | ISO 3166-1 alpha-2. |
| `performers` | array of strings | Artists or teams, in the catalog’s order. |
| `competition` | string or null | The league or tournament of a match. |
| `listable` | boolean | Whether listings can be created for it now. False once it has started. |
| `ready_marketplace_ids` | array of ids | Marketplaces of your account that already carry the event. On the others a listing waits until they do. |

### Search events

`GET /v1/events`

Searches the SyncSeats event catalog, soonest first. Send `q`, a date range, or both. Every match is an event listings can be created for.

Keep the `id` of the event you want: [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) takes it as `event_id`.

- **Permission:** None: every valid key

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string, 2 to 100 characters | optional | Artist, team, event, venue or city. Words of two letters match whole words only. |
| `date_from` | string | optional | First day on the venue’s calendar, `YYYY-MM-DD`. |
| `date_to` | string | optional | Last day on the venue’s calendar, `YYYY-MM-DD`. |
| `country` | string | optional | ISO 3166-1 alpha-2. |
| `city` | string, 1 to 80 characters | optional |  |
| `category` | string | optional | One of `concert`, `sports`, `festival`, `theatre`, `musical`, `comedy` or `other`. |
| `include_parking` | string | optional | Parking passes are events of their own and left out unless this is `true`. One of `true` or `false`. |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of [Event](https://www.syncseats.com/developers/docs/api-catalog#object-event) objects.

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/events?q=World%20Tour%202026&city=London" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "event",
      "id": "6718d2f4a9c3b17e5d204a60",
      "name": "World Tour 2026, Night 1",
      "starts_at_local": "2026-12-11T19:30:00",
      "time_tba": false,
      "timezone": "Europe/London",
      "category": "concert",
      "subcategory": null,
      "venue": "Wembley Stadium",
      "city": "London",
      "country": "GB",
      "performers": ["Sample Artist"],
      "competition": null,
      "listable": true,
      "ready_marketplace_ids": [
        "66a0c41e7b2d9f3a10c5e801",
        "66a0c41e7b2d9f3a10c5e802",
        "66a0c41e7b2d9f3a10c5e803"
      ]
    },
    {
      "object": "event",
      "id": "6718d2f4a9c3b17e5d204a61",
      "name": "World Tour 2026, Night 2",
      "starts_at_local": "2026-12-12T19:30:00",
      "time_tba": false,
      "timezone": "Europe/London",
      "category": "concert",
      "subcategory": null,
      "venue": "Wembley Stadium",
      "city": "London",
      "country": "GB",
      "performers": ["Sample Artist"],
      "competition": null,
      "listable": true,
      "ready_marketplace_ids": [
        "66a0c41e7b2d9f3a10c5e801",
        "66a0c41e7b2d9f3a10c5e802",
        "66a0c41e7b2d9f3a10c5e803"
      ]
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### Get an event

`GET /v1/events/{id}`

One event of the catalog. `listable` says whether listings can be created for it now, and `ready_marketplace_ids` which of your marketplaces carry it already.

- **Permission:** None: every valid key

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the event. |

#### Returns

Answers `200` with the [Event](https://www.syncseats.com/developers/docs/api-catalog#object-event) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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. |

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:

```bash
curl "https://www.syncseats.com/api/v1/events/6718d2f4a9c3b17e5d204a61" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "event",
  "id": "6718d2f4a9c3b17e5d204a61",
  "name": "World Tour 2026, Night 2",
  "starts_at_local": "2026-12-12T19:30:00",
  "time_tba": false,
  "timezone": "Europe/London",
  "category": "concert",
  "subcategory": null,
  "venue": "Wembley Stadium",
  "city": "London",
  "country": "GB",
  "performers": ["Sample Artist"],
  "competition": null,
  "listable": true,
  "ready_marketplace_ids": [
    "66a0c41e7b2d9f3a10c5e801",
    "66a0c41e7b2d9f3a10c5e802",
    "66a0c41e7b2d9f3a10c5e803"
  ]
}
```

### List marketplaces

`GET /v1/marketplaces`

The marketplaces your account can list on, with what each keeps of a sale and when it pays. They fit on one page.

A marketplace with `requires_proof` takes a listing only with a proof of purchase, which [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) sends as `proof_of_purchase_upload_ids`: [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) explains it. Marketplaces in `sold_with_ids` are sold as one: a listing takes all of them or none.

- **Permission:** None: every valid key

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of marketplace objects, each with these fields:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `marketplace`. |
| `id` | string (id) |  |
| `name` | string |  |
| `commission_percent` | number | What the marketplace keeps of a sale, in percent. A sale is billed at the commission that holds when it sells. |
| `pays` | string | When the marketplace pays for a sale. One of `on_delivery` or `after_event`. |
| `requires_proof` | boolean | It asks for a proof of purchase: a listing goes there only with one, sent as `proof_of_purchase_upload_ids` when the listing is created. |
| `section_max_length` | integer or null | The longest section name it takes, if it has a limit. |
| `sold_with_ids` | array of ids | Marketplaces that are sold as one with this one: a listing takes all of them or none. |

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/marketplaces" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "marketplace",
      "id": "66a0c41e7b2d9f3a10c5e801",
      "name": "Viagogo",
      "commission_percent": 5,
      "pays": "on_delivery",
      "requires_proof": false,
      "section_max_length": null,
      "sold_with_ids": ["66a0c41e7b2d9f3a10c5e802"]
    },
    {
      "object": "marketplace",
      "id": "66a0c41e7b2d9f3a10c5e802",
      "name": "StubHub",
      "commission_percent": 5,
      "pays": "on_delivery",
      "requires_proof": false,
      "section_max_length": null,
      "sold_with_ids": ["66a0c41e7b2d9f3a10c5e801"]
    },
    {
      "object": "marketplace",
      "id": "66a0c41e7b2d9f3a10c5e803",
      "name": "SeatGeek",
      "commission_percent": 5,
      "pays": "after_event",
      "requires_proof": true,
      "section_max_length": null,
      "sold_with_ids": []
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### Listing options

`GET /v1/listing-options`

The ids a listing takes for its ticket type, split, restriction, view and extras, each with the label buyers and the dashboard read.

[Ticket types](https://www.syncseats.com/developers/docs/working-with-listings#ticket-types) says what the tickets of each type are and how a sale of them is delivered as a rule.

- **Permission:** None: every valid key

#### Returns

Answers `200` with a listing options object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `listing_options`. |
| `ticket_types` | array of objects |  |
| `ticket_types[].id` | string |  |
| `ticket_types[].label` | string | What buyers and the dashboard read. |
| `splits` | array of objects |  |
| `splits[].id` | string |  |
| `splits[].label` | string | What buyers and the dashboard read. |
| `restrictions` | array of objects |  |
| `restrictions[].id` | string |  |
| `restrictions[].label` | string | What buyers and the dashboard read. |
| `views` | array of objects |  |
| `views[].id` | string |  |
| `views[].label` | string | What buyers and the dashboard read. |
| `extras` | array of objects |  |
| `extras[].id` | string |  |
| `extras[].label` | string | What buyers and the dashboard read. |

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/listing-options" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "listing_options",
  "ticket_types": [
    { "id": "eticket", "label": "E-ticket (PDF)" },
    {
      "id": "mobile",
      "label": "Mobile QR or screenshot"
    },
    {
      "id": "mobile_transfer",
      "label": "Mobile transfer"
    }
  ],
  "splits": [
    {
      "id": "any",
      "label": "Any quantity can be sold"
    },
    {
      "id": "no_singles",
      "label": "No single ticket may be left over"
    },
    {
      "id": "none",
      "label": "All tickets must be sold together"
    },
    {
      "id": "pairs",
      "label": "Sold in pairs, so no 1 or 3 tickets are left over; needs an even number of at least 4 tickets"
    }
  ],
  "restrictions": [
    {
      "id": "adult_id_required",
      "label": "Adult only, ID required"
    },
    { "id": "age_16_plus", "label": "Ages 16+" },
    { "id": "age_18_plus", "label": "Ages 18+" },
    { "id": "age_21_plus", "label": "Ages 21+" },
    {
      "id": "child_16_and_under",
      "label": "Child ticket, ages 16 and under"
    },
    {
      "id": "no_reentry",
      "label": "No re-entry allowed"
    },
    {
      "id": "alcohol_free",
      "label": "Alcohol-free section"
    }
  ],
  "views": [
    {
      "id": "restricted_view",
      "label": "Restricted view"
    },
    {
      "id": "obstructed_view",
      "label": "Obstructed view"
    },
    {
      "id": "behind_stage",
      "label": "Behind stage"
    },
    { "id": "side_view", "label": "Side view" },
    {
      "id": "limited_legroom",
      "label": "Limited legroom"
    },
    {
      "id": "standing_only",
      "label": "Standing room only"
    },
    {
      "id": "ada_accessible",
      "label": "ADA accessible"
    },
    {
      "id": "wheelchair_accessible",
      "label": "Wheelchair accessible"
    },
    { "id": "aisle_seat", "label": "Aisle seat" }
  ],
  "extras": [
    {
      "id": "vip_entrance",
      "label": "VIP entrance access"
    },
    { "id": "early_entry", "label": "Early entry" },
    {
      "id": "parking_included",
      "label": "Parking included"
    },
    {
      "id": "meet_and_greet",
      "label": "Meet & greet included"
    },
    { "id": "club_access", "label": "Club access" },
    {
      "id": "food_and_beverage",
      "label": "Food & beverage included"
    }
  ]
}
```

## Listings API

Create listings, read them, change them, answer what a marketplace asks, put them on sale, take them off sale and delete them.

One listing is one ticket group: a section, a row and its seats, or a number of standing tickets. [Working with listings](https://www.syncseats.com/developers/docs/working-with-listings) explains what can change when, and [Versions and If-Match](https://www.syncseats.com/developers/docs/versions) how a change makes sure it works on what you read.

Reading needs `listings:read`, everything else `listings:write`. With a live key, changing listings also needs a verified identity.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#list-listings) | List listings | `listings:read` |
| [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) | Create listings | `listings:write` |
| [`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads) | Get upload URLs for a proof of purchase | `listings:write` |
| [`GET /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#get-listing) | Get a listing | `listings:read` |
| [`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing) | Change a listing | `listings:write` |
| [`DELETE /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#delete-listing) | Delete a listing | `listings:write` |
| [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) | Put a listing on sale | `listings:write` |
| [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) | Take a listing off sale | `listings:write` |
| [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option) | Answer a marketplace’s choice | `listings:write` |

### Objects

The shapes the endpoints of this page answer with. A field that holds another object names it and links to it.

#### Listing

One ticket group of yours for an event: a section, a row and its seats, or a number of standing tickets.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `listing`. |
| `id` | string (id) | The id of the listing. |
| `status` | string | One of `draft`, `pending_event`, `queued`, `live`, `partially_sold`, `sold`, `completed`, `off_sale`, `cancelled` or `error`. |
| `on_sale` | boolean | Whether unsold tickets are offered right now. False for a draft, a listing off sale and a partial sale whose rest was taken off the market. |
| `version` | string | Changes whenever the tickets, the price or the sale state of the listing change. Send it in `If-Match` to make sure you change what you read. |
| `event` | [Event of a listing or sale](https://www.syncseats.com/developers/docs/api-listings#object-listing-event) | The event a listing or sale belongs to. |
| `section` | string | As printed on the ticket. For standing tickets the area, `General Admission` unless another was named. |
| `row` | string | As printed on the ticket; `GA` for standing tickets. |
| `general_admission` | boolean | Standing or unreserved tickets without seat numbers. `seats` then holds the numbers SyncSeats gave the tickets for the marketplaces; they are not on the tickets. |
| `seats` | array of strings | Every seat of the listing, sold ones included. |
| `quantity` | integer | Tickets in the listing, sold ones included. |
| `available_quantity` | integer | Tickets not sold yet. Reserved ones count as available until their order is confirmed. |
| `sold_quantity` | integer | Tickets sold so far. |
| `reserved_quantity` | integer | Unsold tickets a marketplace holds for an order it has not confirmed yet. |
| `sold_seats` | array of strings | The seats sold so far. |
| `ticket_type` | string | One of `eticket`, `mobile`, `mobile_transfer`, `flash`, `paper`, `paperless`, `will_call` or `dropship`. |
| `split` | string | How many tickets a buyer may take. One of `any`, `no_singles`, `none`, `pairs` or `custom`. |
| `price_per_ticket` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | The price on every marketplace without a price of its own, in USD. |
| `face_value` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | The face value per ticket as printed on the ticket, in USD. Marketplaces that ask for a face value get it; without it they get `cost_per_ticket`, and without that the price. A later change reaches only the marketplaces that take the listing after it. |
| `cost_per_ticket` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | What you paid per ticket, for your own numbers. When `face_value` is not set, marketplaces that ask for a face value get this amount. |
| `restriction` | object or null | A restriction that comes with the tickets, for example an age limit; null when there is none. |
| `restriction.id` | string | The id from `GET /v1/listing-options`, or `custom` for text set in the dashboard that the list does not know. |
| `restriction.label` | string |  |
| `view` | object or null | What the seats are like, for example a restricted view or an aisle seat; null when nothing is noted. |
| `view.id` | string | The id from `GET /v1/listing-options`, or `custom` for text set in the dashboard that the list does not know. |
| `view.label` | string |  |
| `extras` | array of objects | What comes with the tickets, for example parking or early entry. |
| `extras[].id` | string | The id from `GET /v1/listing-options`, or `custom` for text set in the dashboard that the list does not know. |
| `extras[].label` | string |  |
| `reference` | string or null | Your own reference for the listing, for example its id in your system. Private. |
| `internal_note` | string or null | A note for yourself. Private, never sent to a marketplace. |
| `proof_of_purchase_files` | integer | How many files of a proof of purchase the listing has. A marketplace with `requires_proof` takes the listing only with at least one. |
| `marketplaces` | array of [Marketplace of a listing](https://www.syncseats.com/developers/docs/api-listings#object-listing-marketplace) | The marketplaces of the listing, each with its status, its price and its commission. |
| `needs_action` | boolean | True when a marketplace waits for a choice. `marketplaces[].action` lists the options; answer with `POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice` or in the dashboard. |
| `source` | string | How the listing was created. One of `api`, `dashboard`, `import`, `connected_app` or `other`. |
| `created_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `updated_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |

#### Event of a listing or sale

The event a listing or sale belongs to.

| Field | Type | Description |
| --- | --- | --- |
| `id` | string (id) or null | The catalog event; null for a listing from before the catalog or one that waits for its event. |
| `name` | string | The name of the event. |
| `venue` | string or null | The name of the venue, when known. |
| `starts_at` | string (timestamp) or null | The start as a point in time. |
| `starts_at_local` | string or null | The start on the venue’s wall clock, `YYYY-MM-DDTHH:mm:ss`. |
| `timezone` | string or null | IANA time zone of the venue, when known. |

#### Marketplace of a listing

| Field | Type | Description |
| --- | --- | --- |
| `id` | string (id) or null | The marketplace, as in `GET /v1/marketplaces`; null if it is no longer offered. |
| `name` | string | The name of the marketplace. |
| `status` | string | One of `pending`, `waiting_for_event`, `needs_action`, `live`, `sold`, `off_sale`, `cancelled` or `error`. |
| `price_per_ticket` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | What it sells at there. |
| `own_price` | boolean | True when this marketplace has a price of its own instead of the listing’s price. |
| `commission_percent` | number or null | What the marketplace keeps of a sale right now, in percent. |
| `url` | string or null | The public page of the listing on the marketplace, when it has one. |
| `action` | [Choice a marketplace waits for](https://www.syncseats.com/developers/docs/api-listings#object-marketplace-action) or null | The choice the marketplace waits for; set exactly when `status` is `needs_action`, null otherwise. |

#### Choice a marketplace waits for

The choice a marketplace waits for before it takes the listing. When it waits for more than one, the next shows once this one is answered.

| Field | Type | Description |
| --- | --- | --- |
| `kind` | string | What the marketplace asks for. One of `fan_section`, `category` or `seating`. |
| `options` | array of objects, at least 1 item | What can be chosen. For a fan section and a category `id` and `label` are the same text. |
| `options[].id` | string | Send it as `option_id` to choose this option. |
| `options[].label` | string | The option as the marketplace and the dashboard name it. |

### List listings

`GET /v1/listings`

Your listings, newest first. Filter them by status, by event, by your own reference, or by when they were created or changed.

- **Permission:** `listings:read`: read listings

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | optional | One of `draft`, `pending_event`, `queued`, `live`, `partially_sold`, `sold`, `completed`, `off_sale`, `cancelled` or `error`. |
| `event_id` | string (id) | optional | Only listings for this catalog event. |
| `reference` | string, 1 to 100 characters | optional | Only listings with exactly this reference. |
| `created_since` | string, at most 40 characters | optional | Only listings created at or after this time. |
| `updated_since` | string, at most 40 characters | optional | Only listings changed at or after this time. |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) objects.

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/listings?status=live&limit=2" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "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": "live",
          "price_per_ticket": { "amount": "412.00", "currency": "USD" },
          "own_price": false,
          "commission_percent": 5,
          "url": null,
          "action": null
        }
      ],
      "needs_action": false,
      "source": "api",
      "created_at": "2026-11-11T09:26:41.000Z",
      "updated_at": "2026-11-11T09:26:41.000Z"
    },
    {
      "object": "listing",
      "id": "671f3a9c2b7d4e0f1ae48236",
      "status": "live",
      "on_sale": true,
      "version": "Hc4tN9wEo2sKjU6b",
      "event": {
        "id": "6718d2f4a9c3b17e5d204a93",
        "name": "Derby Day",
        "venue": "Emirates Stadium",
        "starts_at": "2026-11-29T15:30:00.000Z",
        "starts_at_local": "2026-11-29T15:30:00",
        "timezone": "Europe/London"
      },
      "section": "214",
      "row": "K",
      "general_admission": false,
      "seats": ["7", "8", "9"],
      "quantity": 3,
      "available_quantity": 3,
      "sold_quantity": 0,
      "reserved_quantity": 0,
      "sold_seats": [],
      "ticket_type": "mobile_transfer",
      "split": "no_singles",
      "price_per_ticket": { "amount": "190.00", "currency": "USD" },
      "face_value": null,
      "cost_per_ticket": { "amount": "150.00", "currency": "USD" },
      "restriction": null,
      "view": { "id": "aisle_seat", "label": "Aisle seat" },
      "extras": [],
      "reference": "48236",
      "internal_note": null,
      "proof_of_purchase_files": 0,
      "marketplaces": [
        {
          "id": "66a0c41e7b2d9f3a10c5e801",
          "name": "Viagogo",
          "status": "live",
          "price_per_ticket": { "amount": "190.00", "currency": "USD" },
          "own_price": false,
          "commission_percent": 5,
          "url": null,
          "action": null
        },
        {
          "id": "66a0c41e7b2d9f3a10c5e802",
          "name": "StubHub",
          "status": "live",
          "price_per_ticket": { "amount": "190.00", "currency": "USD" },
          "own_price": false,
          "commission_percent": 5,
          "url": null,
          "action": null
        }
      ],
      "needs_action": false,
      "source": "api",
      "created_at": "2026-11-03T14:12:09.000Z",
      "updated_at": "2026-11-03T14:12:09.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJhIjoiMjAyNi0xMS0wM1QxNDoxMjowOS4wMDBaIn0"
}
```

### Create listings

`POST /v1/listings`

Creates one listing for each ticket group you send, all for one event. They go on sale unless you send `publish` as `false`, which saves them as drafts.

A group of seated tickets sends `section`, `row` and `seats`. A group of [standing tickets](https://www.syncseats.com/developers/docs/working-with-listings#standing) sends `quantity` instead, and a section only when the venue has several areas.

`proof_of_purchase_upload_ids` names the uploads of a proof of purchase from [`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads), for every group of the request. Marketplaces with `requires_proof` take the listings only with one, and without `marketplace_ids` they are among the marketplaces exactly when the request has one.

A request with several groups can go through in part: what was created is under `listings`, what was not under `skipped` with the reason. A request that creates no listing gives its uploads back.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `event_id` | string (id) | required | The event, from `GET /v1/events`. |
| `listings` | array of objects, 1 to 50 items | required | One to 50 ticket groups for this event. |
| `listings[].section` | string, 1 to 50 characters | optional | As printed on the ticket, at most 50 characters. Needed with `seats`. For standing tickets the area, like Floor or Balcony; left out it is `General Admission`. |
| `listings[].row` | string, 1 to 20 characters | optional | As printed on the ticket, at most 20 characters. Needed with `seats`; standing tickets have none. |
| `listings[].seats` | array of strings, 1 to 50 items | optional | The seats, one entry each, e.g. `["14", "15"]`. At most 50. Their count is the quantity. Leave it out for standing tickets. |
| `listings[].quantity` | integer, 1 to 50 | optional | Standing or unreserved tickets without seat numbers: how many, 1 to 50. Instead of `seats` and `row`. |
| `listings[].price_per_ticket` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) | required | The price per ticket, in USD, EUR or GBP. |
| `listings[].face_value` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) | optional | The face value per ticket as printed on the ticket, in the currency of the price. |
| `listings[].cost_per_ticket` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) | optional | What you paid per ticket, in the currency of the price. |
| `listings[].ticket_type` | string | default `eticket` | What the buyer gets, an id from `GET /v1/listing-options`: `eticket` PDF tickets, `mobile` a QR code or screenshot, `mobile_transfer` tickets transferred from your account at the primary seller, for example Ticketmaster or AXS. One of `eticket`, `mobile` or `mobile_transfer`. |
| `listings[].split` | string | default `any` | How many tickets a buyer may take, an id from `GET /v1/listing-options`. `pairs` needs an even number of at least 4 tickets, and removing seats or tickets from such a listing has to leave an even number. One of `any`, `no_singles`, `none` or `pairs`. |
| `listings[].restriction` | string or null | optional | An id from `GET /v1/listing-options`. One of `adult_id_required`, `age_16_plus`, `age_18_plus`, `age_21_plus`, `child_16_and_under`, `no_reentry` or `alcohol_free`. |
| `listings[].view` | string or null | optional | An id from `GET /v1/listing-options`. One of `restricted_view`, `obstructed_view`, `behind_stage`, `side_view`, `limited_legroom`, `standing_only`, `ada_accessible`, `wheelchair_accessible` or `aisle_seat`. |
| `listings[].extras` | array of strings, at most 6 items | optional | Ids from `GET /v1/listing-options`. Each is one of `vip_entrance`, `early_entry`, `parking_included`, `meet_and_greet`, `club_access` or `food_and_beverage`. |
| `listings[].reference` | string, 1 to 100 characters | optional | Your own reference, at most 100 characters. Private. |
| `listings[].internal_note` | string, at most 500 characters | optional | A note for yourself, at most 500 characters. Private. |
| `marketplace_ids` | array of ids, 1 to 60 items | optional | Where to list, from `GET /v1/marketplaces`. Left out: every marketplace of your account, without the ones you left out on your last listing in the dashboard; one with `requires_proof` only when the request has `proof_of_purchase_upload_ids`. |
| `proof_of_purchase_upload_ids` | array of strings, 1 to 10 items | optional | Uploads of a proof of purchase from `POST /v1/listings/proof-of-purchase/uploads`, 1 to 10. They go with every ticket group of the request; marketplaces with `requires_proof` need them. |
| `publish` | boolean | default `true` | `true` puts the listings on sale, `false` saves drafts. |

#### Returns

Answers `201` with a listing batch object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `listing_batch`. |
| `listings` | array of [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) | The listings that were created, in the order of the request. |
| `skipped` | array of objects | Ticket groups that were not created, each with the reason. Empty when all went through. |
| `skipped[].index` | integer | The position of the ticket group in the request, from 0. |
| `skipped[].code` | string | Why, as an error code, e.g. `seats_taken`. |
| `skipped[].message` | string |  |

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `seats_taken` | One or more of these seats are already listed for the event. |
| `409` | `sandbox_full` | The sandbox of this account is full. Reset it to go on. |
| `409` | `idempotency_in_progress` | A request with this Idempotency-Key is still running. |
| `422` | `idempotency_key_reused` | This Idempotency-Key was used for a different request. |
| `503` | `service_unavailable` | A service the request needs did not answer, such as the file storage. Nothing was saved. `Retry-After` says when to try again. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-create" \
  -d '{
    "event_id": "6718d2f4a9c3b17e5d204a61",
    "listings": [
      {
        "section": "112",
        "row": "F",
        "seats": ["14", "15"],
        "price_per_ticket": { "amount": "412.00", "currency": "USD" },
        "face_value": { "amount": "195.00", "currency": "USD" },
        "cost_per_ticket": { "amount": "280.00", "currency": "USD" },
        "reference": "48211"
      }
    ],
    "proof_of_purchase_upload_ids": ["upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd"]
  }'
```

Response, `201`:

```json
{
  "object": "listing_batch",
  "listings": [
    {
      "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": "live",
          "price_per_ticket": { "amount": "412.00", "currency": "USD" },
          "own_price": false,
          "commission_percent": 5,
          "url": null,
          "action": null
        }
      ],
      "needs_action": false,
      "source": "api",
      "created_at": "2026-11-11T09:26:41.000Z",
      "updated_at": "2026-11-11T09:26:41.000Z"
    }
  ],
  "skipped": []
}
```

### Get upload URLs for a proof of purchase

`POST /v1/listings/proof-of-purchase/uploads`

The first step of a proof of purchase, which some marketplaces ask for before they take a listing: announce up to 10 files, each a PDF, a JPEG or a PNG of up to 10 MB, with its type and size, and get a URL for each.

Then `PUT` each file to its `upload_url` with exactly the `headers` of its upload and no key: the URL is signed and is no endpoint of the API. It takes the file for 15 minutes. Send the upload ids as `proof_of_purchase_upload_ids` to [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) within 24 hours; each upload goes with one request.

With a live key an account may ask for upload URLs for 120 files an hour. An upload of a delivery is no proof of purchase, and the other way round. [Proof of purchase](https://www.syncseats.com/developers/docs/working-with-listings#proof) walks through the steps.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `files` | array of objects, 1 to 10 items | required | One entry per file, 1 to 10. |
| `files[].content_type` | string | required | The type of the file: a PDF, a JPEG or a PNG. One of `application/pdf`, `image/jpeg` or `image/png`. |
| `files[].size` | integer, 1 to 10,485,760 | required | Its size in bytes, at most 10 MB (4 MB with a test key). The upload takes exactly this many. |

#### Returns

Answers `201` with a proof of purchase upload batch object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `proof_of_purchase_upload_batch`. |
| `uploads` | array of objects | One upload per file, in the order of the request. |
| `uploads[].id` | string | Send it in `proof_of_purchase_upload_ids` when you create the listings. |
| `uploads[].upload_url` | string | Where to `PUT` the file. |
| `uploads[].method` | string | Always `PUT`. |
| `uploads[].headers` | map of string to string | Send exactly these headers with the PUT. |
| `uploads[].content_type` | string | One of `application/pdf`, `image/jpeg` or `image/png`. |
| `uploads[].size` | integer | In bytes, as you announced it. |
| `uploads[].expires_at` | string | Until when the URL takes the file, 15 minutes after it was given. |

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `503` | `service_unavailable` | A service the request needs did not answer, such as the file storage. Nothing was saved. `Retry-After` says when to try again. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings/proof-of-purchase/uploads" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-proof-of-purchase" \
  -d '{
    "files": [
      {
        "content_type": "application/pdf",
        "size": 96512
      }
    ]
  }'
```

Response, `201`:

```json
{
  "object": "proof_of_purchase_upload_batch",
  "uploads": [
    {
      "id": "upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd",
      "upload_url": "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Hc7wPq2Lr9Vt4Kz1Xm8Bn3Fd.1794389705.Lp8Vd3Qx6Kz1Rt9Wm4Bc7Hs2Nf5Jy0Ga3Ue6Ti9Ow1P",
      "method": "PUT",
      "headers": {
        "Content-Type": "application/pdf",
        "Content-Length": "96512"
      },
      "content_type": "application/pdf",
      "size": 96512,
      "expires_at": "2026-11-11T09:35:05.000Z"
    }
  ]
}
```

### Get a listing

`GET /v1/listings/{id}`

One listing with its tickets, its price and where it stands on each marketplace.

- **Permission:** `listings:read`: read listings
- **ETag:** The answer carries the listing’s `version` in this header too.

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |

#### Returns

Answers `200` with the [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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. |

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:

```bash
curl "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48211" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```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": "live",
      "price_per_ticket": { "amount": "412.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    }
  ],
  "needs_action": false,
  "source": "api",
  "created_at": "2026-11-11T09:26:41.000Z",
  "updated_at": "2026-11-11T09:26:41.000Z"
}
```

### Change a listing

`PATCH /v1/listings/{id}`

Changes the fields you send and leaves the others as they are. What may change depends on whether the listing is on a marketplace: [Working with listings](https://www.syncseats.com/developers/docs/working-with-listings#changes) has the table.

A new price goes to every marketplace of the listing, or is not saved at all.

A new `face_value` goes only to the marketplaces that take the listing after the change: [Face value](https://www.syncseats.com/developers/docs/working-with-listings#face-value) explains why.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).
- **Shared limit:** With a live key it reaches the marketplaces while it runs, so it also counts against the 120 changes a minute that all accounts on SyncSeats share. See [Rate limits](https://www.syncseats.com/developers/docs/rate-limits).
- **If-Match:** Required when the request changes `seats`, `quantity`, `section`, `row` or `ticket_type`, optional otherwise. See [Versions and If-Match](https://www.syncseats.com/developers/docs/versions).
- **ETag:** The answer carries the listing’s `version` in this header too.

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `price_per_ticket` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) | optional | The new price per ticket. It goes to every marketplace without a price of its own. |
| `marketplace_prices` | map of id to [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) or null | optional | A price of its own for a marketplace, by marketplace id; `null` sets it back to the listing’s price. Marketplaces that are sold as one take it together. |
| `face_value` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) or null | optional | The face value per ticket as printed on the ticket, in USD, EUR or GBP; `null` removes it. Marketplaces that have the listing already keep the face value they got. |
| `cost_per_ticket` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) | optional | What you paid per ticket, in USD, EUR or GBP. When `face_value` is not set, marketplaces that ask for a face value get this amount. |
| `split` | string | optional | How many tickets a buyer may take, an id from `GET /v1/listing-options`. `pairs` needs an even number of at least 4 tickets, and removing seats or tickets from such a listing has to leave an even number. Counted are the tickets not sold or reserved. One of `any`, `no_singles`, `none` or `pairs`. |
| `restriction` | string or null | optional | One of `adult_id_required`, `age_16_plus`, `age_18_plus`, `age_21_plus`, `child_16_and_under`, `no_reentry` or `alcohol_free`. |
| `view` | string or null | optional | One of `restricted_view`, `obstructed_view`, `behind_stage`, `side_view`, `limited_legroom`, `standing_only`, `ada_accessible`, `wheelchair_accessible` or `aisle_seat`. |
| `extras` | array of strings, at most 6 items | optional | Each is one of `vip_entrance`, `early_entry`, `parking_included`, `meet_and_greet`, `club_access` or `food_and_beverage`. |
| `reference` | string, 1 to 100 characters or null | optional | Your own reference, at most 100 characters. Private. |
| `internal_note` | string, at most 500 characters or null | optional | A note for yourself, at most 500 characters. Private. |
| `section` | string, 1 to 50 characters | optional | Only while the listing is on no marketplace. |
| `row` | string, 1 to 20 characters | optional | Only while the listing is on no marketplace. |
| `ticket_type` | string | optional | What the buyer gets, an id from `GET /v1/listing-options`: `eticket` PDF tickets, `mobile` a QR code or screenshot, `mobile_transfer` tickets transferred from your account at the primary seller, for example Ticketmaster or AXS. Only while the listing is on no marketplace. One of `eticket`, `mobile` or `mobile_transfer`. |
| `seats` | array of strings, 1 to 50 items | optional | The seats the listing should have. Needs `If-Match`. While the listing is on a marketplace this can only leave out unsold seats, and it has to be the only field of the request. |
| `quantity` | integer, 1 to 50 | optional | How many standing tickets the listing should have; only for `general_admission`. Needs `If-Match`. While the listing is on a marketplace this can only go down, keeping at least one unsold ticket, and it has to be the only field of the request. |

#### Returns

Answers `200` with the [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `409` | `listing_locked` | The listing is on a marketplace, where its section, row, ticket type and seats cannot change in place, apart from removing unsold seats or standing tickets. |
| `409` | `listing_busy` | The listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet. Try again shortly. |
| `409` | `seats_taken` | One or more of these seats are already listed for the event. |
| `409` | `conflict` | The request cannot be carried out in the state things are in. The message says why. |
| `428` | `precondition_required` | This change needs the `If-Match` header with the listing’s current version. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |

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:

```bash
curl -X PATCH "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48236" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48236-reprice-1" \
  -H 'If-Match: "Hc4tN9wEo2sKjU6b"' \
  -d '{
    "price_per_ticket": { "amount": "185.00", "currency": "USD" }
  }'
```

Response, `200`:

```json
{
  "object": "listing",
  "id": "671f3a9c2b7d4e0f1ae48236",
  "status": "live",
  "on_sale": true,
  "version": "Zr8yB1nQe5uMfA0x",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at": "2026-11-29T15:30:00.000Z",
    "starts_at_local": "2026-11-29T15:30:00",
    "timezone": "Europe/London"
  },
  "section": "214",
  "row": "K",
  "general_admission": false,
  "seats": ["7", "8", "9"],
  "quantity": 3,
  "available_quantity": 3,
  "sold_quantity": 0,
  "reserved_quantity": 0,
  "sold_seats": [],
  "ticket_type": "mobile_transfer",
  "split": "no_singles",
  "price_per_ticket": { "amount": "185.00", "currency": "USD" },
  "face_value": null,
  "cost_per_ticket": { "amount": "150.00", "currency": "USD" },
  "restriction": null,
  "view": { "id": "aisle_seat", "label": "Aisle seat" },
  "extras": [],
  "reference": "48236",
  "internal_note": null,
  "proof_of_purchase_files": 0,
  "marketplaces": [
    {
      "id": "66a0c41e7b2d9f3a10c5e801",
      "name": "Viagogo",
      "status": "live",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    },
    {
      "id": "66a0c41e7b2d9f3a10c5e802",
      "name": "StubHub",
      "status": "live",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    }
  ],
  "needs_action": false,
  "source": "api",
  "created_at": "2026-11-03T14:12:09.000Z",
  "updated_at": "2026-11-10T08:00:14.000Z"
}
```

### Delete a listing

`DELETE /v1/listings/{id}`

Takes the listing off every marketplace and archives it. A listing with sales stays on record and answers `409 listing_has_sales`; take the rest off sale instead.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).
- **Shared limit:** With a live key it reaches the marketplaces while it runs, so it also counts against the 120 changes a minute that all accounts on SyncSeats share. See [Rate limits](https://www.syncseats.com/developers/docs/rate-limits).
- **If-Match:** Required: the listing’s current version. Without it the answer is `428 precondition_required`. See [Versions and If-Match](https://www.syncseats.com/developers/docs/versions).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |

#### Returns

Answers `200` with a deleted listing object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `listing`. |
| `id` | string (id) |  |
| `deleted` | boolean | Always `true`. |

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `409` | `listing_has_sales` | The listing has sales and stays on record. Take the rest off sale instead. |
| `409` | `listing_busy` | The listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet. Try again shortly. |
| `428` | `precondition_required` | This change needs the `If-Match` header with the listing’s current version. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |

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:

```bash
curl -X DELETE "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48236" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: pos-48236-delete" \
  -H 'If-Match: "Tm6jF4rYi0oEbN8q"'
```

Response, `200`:

```json
{
  "object": "listing",
  "id": "671f3a9c2b7d4e0f1ae48236",
  "deleted": true
}
```

### Put a listing on sale

`POST /v1/listings/{id}/publish`

Puts a draft, or a listing that was taken off sale, on sale on its marketplaces.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).
- **Shared limit:** With a live key it reaches the marketplaces while it runs, so it also counts against the 120 changes a minute that all accounts on SyncSeats share. See [Rate limits](https://www.syncseats.com/developers/docs/rate-limits).
- **If-Match:** Optional: the listing’s current version, to change only what you read. See [Versions and If-Match](https://www.syncseats.com/developers/docs/versions).
- **ETag:** The answer carries the listing’s `version` in this header too.

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |

#### Returns

Answers `200` with the [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `409` | `listing_busy` | The listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet. Try again shortly. |
| `409` | `seats_taken` | One or more of these seats are already listed for the event. |
| `409` | `conflict` | The request cannot be carried out in the state things are in. The message says why. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48236/publish" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: pos-48236-on-sale" \
  -H 'If-Match: "Lw2gD7pXa9cVhS3k"'
```

Response, `200`:

```json
{
  "object": "listing",
  "id": "671f3a9c2b7d4e0f1ae48236",
  "status": "live",
  "on_sale": true,
  "version": "Tm6jF4rYi0oEbN8q",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at": "2026-11-29T15:30:00.000Z",
    "starts_at_local": "2026-11-29T15:30:00",
    "timezone": "Europe/London"
  },
  "section": "214",
  "row": "K",
  "general_admission": false,
  "seats": ["7", "8", "9"],
  "quantity": 3,
  "available_quantity": 3,
  "sold_quantity": 0,
  "reserved_quantity": 0,
  "sold_seats": [],
  "ticket_type": "mobile_transfer",
  "split": "no_singles",
  "price_per_ticket": { "amount": "185.00", "currency": "USD" },
  "face_value": null,
  "cost_per_ticket": { "amount": "150.00", "currency": "USD" },
  "restriction": null,
  "view": { "id": "aisle_seat", "label": "Aisle seat" },
  "extras": [],
  "reference": "48236",
  "internal_note": null,
  "proof_of_purchase_files": 0,
  "marketplaces": [
    {
      "id": "66a0c41e7b2d9f3a10c5e801",
      "name": "Viagogo",
      "status": "live",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    },
    {
      "id": "66a0c41e7b2d9f3a10c5e802",
      "name": "StubHub",
      "status": "live",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    }
  ],
  "needs_action": false,
  "source": "api",
  "created_at": "2026-11-03T14:12:09.000Z",
  "updated_at": "2026-11-10T08:07:02.000Z"
}
```

### Take a listing off sale

`POST /v1/listings/{id}/unpublish`

Takes the listing off every marketplace and keeps it. For a listing that sold in part, it takes the unsold rest off sale. [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) puts it back.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).
- **Shared limit:** With a live key it reaches the marketplaces while it runs, so it also counts against the 120 changes a minute that all accounts on SyncSeats share. See [Rate limits](https://www.syncseats.com/developers/docs/rate-limits).
- **If-Match:** Optional: the listing’s current version, to change only what you read. See [Versions and If-Match](https://www.syncseats.com/developers/docs/versions).
- **ETag:** The answer carries the listing’s `version` in this header too.

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |

#### Returns

Answers `200` with the [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `409` | `listing_busy` | The listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet. Try again shortly. |
| `409` | `conflict` | The request cannot be carried out in the state things are in. The message says why. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48236/unpublish" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: pos-48236-off-sale" \
  -H 'If-Match: "Zr8yB1nQe5uMfA0x"'
```

Response, `200`:

```json
{
  "object": "listing",
  "id": "671f3a9c2b7d4e0f1ae48236",
  "status": "off_sale",
  "on_sale": false,
  "version": "Lw2gD7pXa9cVhS3k",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at": "2026-11-29T15:30:00.000Z",
    "starts_at_local": "2026-11-29T15:30:00",
    "timezone": "Europe/London"
  },
  "section": "214",
  "row": "K",
  "general_admission": false,
  "seats": ["7", "8", "9"],
  "quantity": 3,
  "available_quantity": 3,
  "sold_quantity": 0,
  "reserved_quantity": 0,
  "sold_seats": [],
  "ticket_type": "mobile_transfer",
  "split": "no_singles",
  "price_per_ticket": { "amount": "185.00", "currency": "USD" },
  "face_value": null,
  "cost_per_ticket": { "amount": "150.00", "currency": "USD" },
  "restriction": null,
  "view": { "id": "aisle_seat", "label": "Aisle seat" },
  "extras": [],
  "reference": "48236",
  "internal_note": null,
  "proof_of_purchase_files": 0,
  "marketplaces": [
    {
      "id": "66a0c41e7b2d9f3a10c5e801",
      "name": "Viagogo",
      "status": "off_sale",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    },
    {
      "id": "66a0c41e7b2d9f3a10c5e802",
      "name": "StubHub",
      "status": "off_sale",
      "price_per_ticket": { "amount": "185.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    }
  ],
  "needs_action": false,
  "source": "api",
  "created_at": "2026-11-03T14:12:09.000Z",
  "updated_at": "2026-11-10T08:05:31.000Z"
}
```

### Answer a marketplace’s choice

`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`

Answers the choice a marketplace of the listing waits for: a fan section, a category or how the seats sit together. Send `kind` as `action.kind` of the marketplace names it, and one `id` of `action.options` as `option_id`.

With a live key the marketplace then takes the listing through its queue, and `listing.live` tells you when it is on sale there. When it waits for another choice, the listing shows that one next. [When a marketplace needs a choice](https://www.syncseats.com/developers/docs/working-with-listings#choices) has the rest.

- **Permission:** `listings:write`: change listings
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).
- **If-Match:** Optional: the listing’s current version, to change only what you read. See [Versions and If-Match](https://www.syncseats.com/developers/docs/versions).
- **ETag:** The answer carries the listing’s `version` in this header too.

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |
| `marketplace_id` | string (id) | required | The id of the marketplace, as in `GET /v1/marketplaces` and under `marketplaces` of the listing. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | string | required | The choice you answer, as `action.kind` of the marketplace names it. One of `fan_section`, `category` or `seating`. |
| `option_id` | string, 1 to 200 characters | required | One of `action.options[].id`. |

#### Returns

Answers `200` with the [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/listings/671f3a9c2b7d4e0f1ae48211/marketplaces/66a0c41e7b2d9f3a10c5e803/choice" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-category" \
  -d '{
    "kind": "category",
    "option_id": "Category 1"
  }'
```

Response, `200`:

```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": "live",
      "price_per_ticket": { "amount": "412.00", "currency": "USD" },
      "own_price": false,
      "commission_percent": 5,
      "url": null,
      "action": null
    }
  ],
  "needs_action": false,
  "source": "api",
  "created_at": "2026-11-11T09:26:41.000Z",
  "updated_at": "2026-11-11T09:44:02.000Z"
}
```

## Sales and charges API

Your sales with fees, payout amounts and deadlines, the charges for them, and handing in their delivery.

Reading needs `sales:read`. Delivering a sale needs `sales:write`, and with a live key also a verified identity: ask for upload URLs, put the files there, and hand the delivery in. [Deliver a sale](https://www.syncseats.com/developers/docs/sales-and-money#deliver) walks through it, and [Sales and money](https://www.syncseats.com/developers/docs/sales-and-money) explains the statuses, the fees and how a sale becomes a payout.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) | List sales | `sales:read` |
| [`GET /v1/sales/{id}`](https://www.syncseats.com/developers/docs/api-sales#get-sale) | Get a sale | `sales:read` |
| [`POST /v1/sales/{id}/delivery/uploads`](https://www.syncseats.com/developers/docs/api-sales#create-delivery-uploads) | Get upload URLs for a delivery | `sales:write` |
| [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) | Deliver a sale | `sales:write` |
| [`GET /v1/charges`](https://www.syncseats.com/developers/docs/api-sales#list-charges) | List charges | `sales:read` |

### Objects

The shapes the endpoints of this page answer with. A field that holds another object names it and links to it.

#### Sale

Tickets of one of your listings that sold on a marketplace.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `sale`. |
| `id` | string (sale id) | Our invoice number, the one the dashboard shows as `#1761470400000123`. |
| `listing_id` | string (id) | The listing the tickets came from. |
| `listing_reference` | string or null | The `reference` of the listing the tickets came from, as the listing has it now; null when it has none. |
| `status` | string | One of `awaiting_delivery`, `awaiting_confirmation`, `delivered`, `cancelled` or `failed`. |
| `marketplace` | object | The marketplace the tickets sold on. |
| `marketplace.id` | string (id) or null |  |
| `marketplace.name` | string |  |
| `event` | [Event of a listing or sale](https://www.syncseats.com/developers/docs/api-listings#object-listing-event) | The event a listing or sale belongs to. |
| `section` | string | As printed on the ticket. |
| `row` | string | As printed on the ticket. |
| `seats` | array of strings | The seats of this sale. Empty when the marketplace did not name them. |
| `quantity` | integer | Tickets in the sale. |
| `ticket_type` | string | One of `eticket`, `mobile`, `mobile_transfer`, `flash`, `paper`, `paperless`, `will_call` or `dropship`. |
| `price` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | The total for all tickets of the sale in USD, as the marketplace reported it, before its commission and the SyncSeats fee (`fees`). Per ticket it is `price` divided by `quantity`. |
| `fees` | object | What the marketplace and SyncSeats keep of the price. |
| `fees.marketplace` | object | The marketplace’s commission. |
| `fees.marketplace.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | An amount with its currency. |
| `fees.marketplace.percent` | number or null | The rate the amount came from, in percent. |
| `fees.syncseats` | object | The SyncSeats fee, taken from what is left after the commission. |
| `fees.syncseats.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | An amount with its currency. |
| `fees.syncseats.percent` | number or null | The rate the amount came from, in percent. |
| `payout` | object | What you receive for the sale, and where its payout stands. |
| `payout.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | What you receive for the sale, in USD: the price minus both fees. |
| `payout.amount_eur` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | The same in EUR, fixed once the marketplace has paid. Payouts are sent in EUR. |
| `payout.status` | string | One of `awaiting_marketplace`, `ready`, `in_payout`, `paid` or `blocked`. |
| `payout.payout_id` | string (payout number) or null | The payout that covers the sale, once it is in one. |
| `payout.ready_at` | string (timestamp) or null | When it became ready for a payout. |
| `payout.paid_at` | string (timestamp) or null | When it was paid out to you. |
| `deliver_by` | string (timestamp) or null | The transfer due date: deliver the tickets by then. |
| `in_hand_by` | string (timestamp) or null | The marketplace’s last moment for the buyer to have the tickets. After it the sale can be cancelled with a charge. |
| `sold_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `delivered_at` | string (timestamp) or null | When the delivery was confirmed. |
| `cancelled_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `cancellation` | object or null | Why and by whom the sale was cancelled; null while it is not. |
| `cancellation.reason` | string or null |  |
| `cancellation.by` | string or null | One of `marketplace`, `seller`, `syncseats`, `event_cancelled` or `buyer`. |
| `charges` | array of [Charge](https://www.syncseats.com/developers/docs/api-sales#object-charge) | Penalties for this sale, cancelled ones included. |
| `delivery` | [Delivery of a sale](https://www.syncseats.com/developers/docs/api-sales#object-sale-delivery) or null | The delivery that counts now; null before one is handed in and after our team reset it. |
| `recipient` | object or null, optional | Only with the `recipients:read` permission; without it the field is absent. Null when the marketplace has named no one yet. |
| `recipient.name` | string or null |  |
| `recipient.email` | string or null |  |
| `recipient.phone` | string or null |  |

#### Delivery of a sale

The delivery handed in for the sale that counts now.

| Field | Type | Description |
| --- | --- | --- |
| `method` | string | How the tickets were delivered. One of `transfer_proof`, `pdf` or `transfer_link`. |
| `files` | array of objects | The files handed in. An older delivery from the dashboard may list fewer, when a file has a type the API does not name. |
| `files[].name` | string |  |
| `files[].content_type` | string | One of `application/pdf`, `image/jpeg` or `image/png`. |
| `files[].size` | integer | In bytes. |
| `links` | integer | Links for the buyer handed in, one per ticket; an Apple and Google Wallet pair counts once. |
| `submitted_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `via` | string | Where it was handed in: the dashboard, the API, or our team for you. One of `dashboard`, `api` or `syncseats`. |

#### Charge

A penalty for a sale, for example after a cancellation.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `charge`. |
| `id` | string (id) | The id of the charge. |
| `sale_id` | string (sale id) | The sale it is for. |
| `listing_id` | string (id) | The listing the sale came from. |
| `amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | In USD. |
| `reason` | string | Why it was charged, in words. Empty when no reason was given. |
| `status` | string | One of `open`, `in_payment_request`, `settled` or `cancelled`. |
| `payment_request_id` | string (payment request number) or null | The payment request it is part of or was paid with. |
| `created_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `settled_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |

### List sales

`GET /v1/sales`

Your sales, newest first, each with its fees, its payout and its deadlines.

Filter them by status, by payout status, by listing, by the time of the sale, or by `listing_reference`, your own reference of the listing: [Your reference on a sale](https://www.syncseats.com/developers/docs/sales-and-money#reference) says how it matches.

- **Permission:** `sales:read`: read sales

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | optional | One of `awaiting_delivery`, `awaiting_confirmation`, `delivered`, `cancelled` or `failed`. |
| `payout_status` | string | optional | One of `awaiting_marketplace`, `ready`, `in_payout`, `paid` or `blocked`. |
| `listing_id` | string (id) | optional |  |
| `listing_reference` | string, 1 to 100 characters | optional | Only sales of listings with exactly this reference. |
| `sold_since` | string, at most 40 characters | optional | Only sales made at or after this time. |
| `sold_before` | string, at most 40 characters | optional | Only sales made before this time. |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) objects.

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/sales?listing_reference=48211&status=awaiting_delivery" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "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
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### Get a sale

`GET /v1/sales/{id}`

One sale. Its `id` is the invoice number the dashboard shows, and `delivery` shows what was handed in for it, wherever that was done.

- **Permission:** `sales:read`: read sales

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (sale id) | required | The id of the sale: its invoice number. |

#### Returns

Answers `200` with the [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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. |

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:

```bash
curl "https://www.syncseats.com/api/v1/sales/1761470400000123" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```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": { "amount": "639.55", "currency": "EUR" },
    "status": "paid",
    "payout_id": "PR-2026-0284",
    "ready_at": "2026-11-13T10:05:22.000Z",
    "paid_at": "2026-11-16T08:31:07.000Z"
  },
  "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"
  }
}
```

### Get upload URLs for a delivery

`POST /v1/sales/{id}/delivery/uploads`

The first step of a delivery: announce up to 8 files, each a PDF, a JPEG or a PNG of up to 10 MB, with its type and size, and get a URL for each.

Then `PUT` each file to its `upload_url` with exactly the `headers` of its upload and no key: the URL is signed and is no endpoint of the API. It takes the file for 15 minutes. Hand the delivery in with [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale).

An account may ask for upload URLs 120 times an hour with a live key, together with the uploads of the dashboard. [Deliver a sale](https://www.syncseats.com/developers/docs/sales-and-money#deliver) walks through the steps.

- **Permission:** `sales:write`: deliver sales
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (sale id) | required | The id of the sale: its invoice number. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `files` | array of objects, 1 to 8 items | required | One entry per file, 1 to 8. |
| `files[].content_type` | string | required | The type of the file: a PDF, a JPEG or a PNG. One of `application/pdf`, `image/jpeg` or `image/png`. |
| `files[].size` | integer, 1 to 10,485,760 | required | Its size in bytes, at most 10 MB (4 MB with a test key). The upload takes exactly this many. |

#### Returns

Answers `201` with an upload batch object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `upload_batch`. |
| `sale_id` | string (sale id) |  |
| `uploads` | array of objects | One upload per file, in the order of the request. |
| `uploads[].id` | string | Send it in `upload_ids` when you hand the delivery in. |
| `uploads[].upload_url` | string | Where to `PUT` the file. |
| `uploads[].method` | string | Always `PUT`. |
| `uploads[].headers` | map of string to string | Send exactly these headers with the PUT. |
| `uploads[].content_type` | string | One of `application/pdf`, `image/jpeg` or `image/png`. |
| `uploads[].size` | integer | In bytes, as you announced it. |
| `uploads[].expires_at` | string | Until when the URL takes the file, 15 minutes after it was given. |

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `sale_not_deliverable` | The sale takes no delivery: it is delivered, cancelled or failed. |
| `503` | `service_unavailable` | A service the request needs did not answer, such as the file storage. Nothing was saved. `Retry-After` says when to try again. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sales/1761470400000123/delivery/uploads" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-uploads" \
  -d '{
    "files": [
      { "content_type": "image/png", "size": 182344 }
    ]
  }'
```

Response, `201`:

```json
{
  "object": "upload_batch",
  "sale_id": "1761470400000123",
  "uploads": [
    {
      "id": "upl_Qm3kV8xT1pLw7aRz5cHn0sJd",
      "upload_url": "https://www.syncseats.com/api/v1/sandbox/uploads/upl_Qm3kV8xT1pLw7aRz5cHn0sJd.1794406390.Xr4pTq9LmV2wZc7KbN1sHd6Gf3Jy8Ue0Ao5Ri2Wk7Qz",
      "method": "PUT",
      "headers": {
        "Content-Type": "image/png",
        "Content-Length": "182344"
      },
      "content_type": "image/png",
      "size": 182344,
      "expires_at": "2026-11-11T14:13:10.000Z"
    }
  ]
}
```

### Deliver a sale

`POST /v1/sales/{id}/delivery`

Hands the delivery of a sale in, with the uploads whose files you put to their URLs. The sale is `awaiting_confirmation` then, our team confirms it, and `sale.proof_submitted` goes out, as after delivering in the dashboard.

A delivery handed in again while the sale is `awaiting_confirmation` replaces the one before as a whole, its links included. Send an `Idempotency-Key`: the same request sent again then gets the same answer, and nothing is handed in twice.

- **Permission:** `sales:write`: deliver sales
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (sale id) | required | The id of the sale: its invoice number. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `method` | string | required | How you delivered the tickets. One of `transfer_proof`, `pdf` or `transfer_link`. |
| `upload_ids` | array of strings, 1 to 8 items | required | The uploads that make up the delivery, 1 to 8. Every delivery needs at least one file. |
| `transfer_links` | array of strings, at most 20 items | optional | Only with `transfer_link`: the links for the buyer, one per ticket, at most 20. |
| `wallet_links` | array of objects, at most 20 items | optional | Only with `transfer_link`, instead of `transfer_links`: an Apple and a Google Wallet link per ticket; either may be missing. |
| `wallet_links[].apple` | string, at most 2,048 characters | optional |  |
| `wallet_links[].google` | string, at most 2,048 characters | optional |  |
| `buyer_note` | string, at most 300 characters | optional | Only with `transfer_link`: what the buyer reads beside the links, at most 300 characters, without contact details or links. |
| `note` | string, at most 500 characters | optional | A note for our team, at most 500 characters. |
| `recipient` | object | optional | Who you transferred the tickets to, when it is not the recipient the marketplace named. |
| `recipient.first_name` | string, at most 100 characters | optional |  |
| `recipient.last_name` | string, at most 100 characters | optional |  |
| `recipient.email` | string, at most 254 characters | optional |  |

#### Returns

Answers `200` with the [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `sale_not_deliverable` | The sale takes no delivery: it is delivered, cancelled or failed. |
| `409` | `conflict` | The request cannot be carried out in the state things are in. The message says why. |
| `409` | `idempotency_in_progress` | A request with this Idempotency-Key is still running. |
| `422` | `idempotency_key_reused` | This Idempotency-Key was used for a different request. |
| `503` | `service_unavailable` | A service the request needs did not answer, such as the file storage. Nothing was saved. `Retry-After` says when to try again. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sales/1761470400000123/delivery" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-delivery" \
  -d '{
    "method": "transfer_proof",
    "upload_ids": ["upl_Qm3kV8xT1pLw7aRz5cHn0sJd"]
  }'
```

Response, `200`:

```json
{
  "object": "sale",
  "id": "1761470400000123",
  "listing_id": "671f3a9c2b7d4e0f1ae48211",
  "listing_reference": "48211",
  "status": "awaiting_confirmation",
  "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": {
    "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"
  }
}
```

### List charges

`GET /v1/charges`

The penalties for your sales, for example after a cancellation, newest first.

- **Permission:** `sales:read`: read sales

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | optional | One of `open`, `in_payment_request`, `settled` or `cancelled`. |
| `sale_id` | string (sale id) | optional |  |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of [Charge](https://www.syncseats.com/developers/docs/api-sales#object-charge) objects.

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/charges?status=open" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "charge",
      "id": "672b6d10f4a83c5e9b7d1c02",
      "sale_id": "1761470400000187",
      "listing_id": "671f3a9c2b7d4e0f1ae48190",
      "amount": { "amount": "74.00", "currency": "USD" },
      "reason": "The tickets were not delivered and the sale was cancelled.",
      "status": "open",
      "payment_request_id": null,
      "created_at": "2026-11-17T16:40:03.000Z",
      "settled_at": null
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

## Balance and payouts API

What your sales add up to, the payouts with the sales each one covers, and payment requests.

These endpoints read. A payout is requested in the dashboard, where it takes your bank details and second factor. [Sales and money](https://www.syncseats.com/developers/docs/sales-and-money) follows the money from the sale to your bank account.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/balance`](https://www.syncseats.com/developers/docs/api-payouts#get-balance) | Get the balance | `payouts:read` |
| [`GET /v1/payouts`](https://www.syncseats.com/developers/docs/api-payouts#list-payouts) | List payouts | `payouts:read` |
| [`GET /v1/payouts/{id}`](https://www.syncseats.com/developers/docs/api-payouts#get-payout) | Get a payout | `payouts:read` |
| [`GET /v1/payment-requests`](https://www.syncseats.com/developers/docs/api-payouts#list-payment-requests) | List payment requests | `payouts:read` |

### Objects

The shapes the endpoints of this page answer with. A field that holds another object names it and links to it.

#### Payout

Money sent, or to be sent, to your bank account for a set of sales.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `payout`. |
| `id` | string (payout number) | The payout’s number, as on its documents. |
| `status` | string | One of `requested`, `processing`, `paid`, `blocked` or `cancelled`. |
| `status_reason` | string or null | Why the payout is blocked or was cancelled; null otherwise. |
| `amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | What is sent to your bank account, in EUR. |
| `sales_total` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | The payout amounts of its sales together, in EUR, before deductions. |
| `deductions` | object | What came off the sales total. |
| `deductions.charges` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | Open charges this payout settles, in EUR. |
| `deductions.vat` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | VAT on the SyncSeats fee, where it applies, in EUR. |
| `deductions.transfer_fee` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | The cost of the bank transfer, in EUR. |
| `sales` | array of objects | The sales the payout covers. |
| `sales[].sale_id` | string (sale id) |  |
| `sales[].listing_id` | string (id) |  |
| `sales[].event_name` | string |  |
| `sales[].event_starts_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `sales[].price` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | The sale price, in USD. |
| `sales[].payout` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | What the sale adds to the payout, in USD. |
| `requested_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `paid_at` | string (timestamp) or null | When it was sent to you. |

### Get the balance

`GET /v1/balance`

What your sales add up to, by where their payout stands, and what is open in charges and payment requests.

- **Permission:** `payouts:read`: read payouts

#### Returns

Answers `200` with a balance object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `balance`. |
| `ready` | object | Sales the marketplace has paid for and that are in no payout yet. Charges, VAT and the transfer cost come off when you request the payout. |
| `ready.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | In USD. |
| `ready.sales` | integer | How many sales it is made of. |
| `awaiting_marketplace` | object | Sales the marketplace has not paid for yet. |
| `awaiting_marketplace.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | In USD. |
| `awaiting_marketplace.sales` | integer | How many sales it is made of. |
| `in_payout` | object | Sales in a payout you requested that has not been sent yet. |
| `in_payout.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | In USD. |
| `in_payout.sales` | integer | How many sales it is made of. |
| `paid` | object | Sales that were paid out. |
| `paid.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | In USD. |
| `paid.sales` | integer | How many sales it is made of. |
| `open_charges` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | Charges your next payout deducts, in USD. |
| `payment_requests_open` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | What is still to transfer for payment requests, in USD. |

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/balance" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "balance",
  "ready": {
    "amount": { "amount": "743.66", "currency": "USD" },
    "sales": 1
  },
  "awaiting_marketplace": {
    "amount": { "amount": "0.00", "currency": "USD" },
    "sales": 0
  },
  "in_payout": {
    "amount": { "amount": "0.00", "currency": "USD" },
    "sales": 0
  },
  "paid": {
    "amount": { "amount": "0.00", "currency": "USD" },
    "sales": 0
  },
  "open_charges": { "amount": "0.00", "currency": "USD" },
  "payment_requests_open": { "amount": "0.00", "currency": "USD" }
}
```

### List payouts

`GET /v1/payouts`

Your payouts, newest first, each with its deductions and the sales it covers.

- **Permission:** `payouts:read`: read payouts

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | optional | One of `requested`, `processing`, `paid`, `blocked` or `cancelled`. |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of [Payout](https://www.syncseats.com/developers/docs/api-payouts#object-payout) objects.

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/payouts?status=paid" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "payout",
      "id": "PR-2026-0284",
      "status": "paid",
      "status_reason": null,
      "amount": { "amount": "629.66", "currency": "EUR" },
      "sales_total": { "amount": "639.55", "currency": "EUR" },
      "deductions": {
        "charges": null,
        "vat": { "amount": "6.95", "currency": "EUR" },
        "transfer_fee": { "amount": "2.94", "currency": "EUR" }
      },
      "sales": [
        {
          "sale_id": "1761470400000123",
          "listing_id": "671f3a9c2b7d4e0f1ae48211",
          "event_name": "World Tour 2026, Night 2",
          "event_starts_at": "2026-12-12T19:30:00.000Z",
          "price": { "amount": "824.00", "currency": "USD" },
          "payout": { "amount": "743.66", "currency": "USD" }
        }
      ],
      "requested_at": "2026-11-13T10:12:40.000Z",
      "paid_at": "2026-11-16T08:31:07.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### Get a payout

`GET /v1/payouts/{id}`

One payout by its number, with its deductions and the sales it covers.

- **Permission:** `payouts:read`: read payouts

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (payout number) | required | The number of the payout. |

#### Returns

Answers `200` with the [Payout](https://www.syncseats.com/developers/docs/api-payouts#object-payout) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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. |

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:

```bash
curl "https://www.syncseats.com/api/v1/payouts/PR-2026-0284" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "payout",
  "id": "PR-2026-0284",
  "status": "paid",
  "status_reason": null,
  "amount": { "amount": "629.66", "currency": "EUR" },
  "sales_total": { "amount": "639.55", "currency": "EUR" },
  "deductions": {
    "charges": null,
    "vat": { "amount": "6.95", "currency": "EUR" },
    "transfer_fee": { "amount": "2.94", "currency": "EUR" }
  },
  "sales": [
    {
      "sale_id": "1761470400000123",
      "listing_id": "671f3a9c2b7d4e0f1ae48211",
      "event_name": "World Tour 2026, Night 2",
      "event_starts_at": "2026-12-12T19:30:00.000Z",
      "price": { "amount": "824.00", "currency": "USD" },
      "payout": { "amount": "743.66", "currency": "USD" }
    }
  ],
  "requested_at": "2026-11-13T10:12:40.000Z",
  "paid_at": "2026-11-16T08:31:07.000Z"
}
```

### List payment requests

`GET /v1/payment-requests`

The requests to pay charges that no payout settled, newest first.

- **Permission:** `payouts:read`: read payouts

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | optional | One of `open`, `paid`, `written_off` or `returned`. |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of payment request objects, each with these fields:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `payment_request`. |
| `id` | string (payment request number) |  |
| `status` | string | One of `open`, `paid`, `written_off` or `returned`. |
| `amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | The charges it asks for, in USD. |
| `amount_eur` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | The same in EUR, fixed when it was issued. Either amount settles it. |
| `remaining` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) | What is still to transfer, in USD. |
| `pay_by` | string or null | The day the latest letter asks for the payment, `YYYY-MM-DD`. |
| `charge_ids` | array of ids | The charges it covers. |
| `issued_at` | string (timestamp) or null | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/payment-requests?status=open" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "payment_request",
      "id": "CLM-2026-0007",
      "status": "open",
      "amount": { "amount": "74.00", "currency": "USD" },
      "amount_eur": { "amount": "63.64", "currency": "EUR" },
      "remaining": { "amount": "74.00", "currency": "USD" },
      "pay_by": "2027-01-04",
      "charge_ids": ["672b6d10f4a83c5e9b7d1c02"],
      "issued_at": "2026-12-21T09:00:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

## Inventory API

Your ticket purchases with what they cost and what they sold for, and the sales you make outside SyncSeats.

The inventory of the dashboard: every purchase you recorded and every listing of yours, each as one entry with its sales. An entry of a listing goes by the listing’s id, and of it only `purchase`, `note` and `status` change. [Working with the inventory](https://www.syncseats.com/developers/docs/working-with-inventory) explains entries, currencies and what stays with a listing.

Reading needs `inventory:read`, everything else `inventory:write`. Changing the inventory needs no verified identity, also with a live key, except for the amount or date of the purchase on the entry of a listing: it becomes the listing’s cost and also takes `listings:write`. In the sandbox the inventory holds only what you record there.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#list-inventory) | List the inventory | `inventory:read` |
| [`POST /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-item) | Record a purchase | `inventory:write` |
| [`GET /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#get-inventory-item) | Get an inventory entry | `inventory:read` |
| [`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) | Change an inventory entry | `inventory:write` |
| [`DELETE /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-item) | Delete an inventory entry | `inventory:write` |
| [`POST /v1/inventory/{id}/sales`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-sale) | Record a sale outside SyncSeats | `inventory:write` |
| [`PATCH /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-sale) | Change a sale outside SyncSeats | `inventory:write` |
| [`DELETE /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-sale) | Delete a sale outside SyncSeats | `inventory:write` |

### Objects

The shapes the endpoints of this page answer with. A field that holds another object names it and links to it.

#### Inventory entry

One purchase of tickets in your inventory, or one SyncSeats listing of yours, with its sales and what it earned.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `inventory_item`. |
| `id` | string (id) | The id of the entry. An entry of a SyncSeats listing always goes by the listing’s id, also once it has details of its own, so the id stays the same. |
| `listing_id` | string (id) or null | The SyncSeats listing the entry belongs to; null for a purchase that is not listed on SyncSeats. |
| `source` | string | How the entry came into the inventory. One of `manual`, `import`, `email` or `syncseats`. |
| `status` | string | Where the tickets stand. A status you set replaces the one the sales give. One of `in_stock`, `listed`, `partially_sold`, `sold` or `paid_out`. |
| `event` | object | The event the tickets are for. |
| `event.id` | string (id) or null | The catalog event, as in `GET /v1/events`; null for an event typed in by hand. |
| `event.name` | string | The name of the event. |
| `event.venue` | string or null | The venue, when known. |
| `event.starts_at_local` | string or null | The start on the venue’s wall clock: `YYYY-MM-DD`, with the time as `YYYY-MM-DDTHH:mm` or `YYYY-MM-DDTHH:mm:ss` when it is known; null when the day is not known. |
| `event.passed` | boolean | True once the event has started while tickets of the entry are still unsold. |
| `quantity` | integer | Tickets in the entry, sold ones included. |
| `sold_quantity` | integer | Tickets sold so far, without cancelled sales. |
| `section` | string or null | As printed on the ticket, when known. |
| `row` | string or null | As printed on the ticket, when known. |
| `seats` | array of strings | The seats, when known; empty otherwise. |
| `purchase` | object | What the tickets cost, as recorded. |
| `purchase.platform` | string or null | Where the tickets were bought, for example Ticketmaster. |
| `purchase.date` | string or null | The day of the purchase, `YYYY-MM-DD`. |
| `purchase.amount` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | What all tickets of the entry cost, in the currency it was recorded in. |
| `purchase.cost_per_ticket` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | `amount` divided by `quantity`, in the same currency. |
| `totals` | object | The sales of the entry added up, without cancelled ones, in the `currency` of the request. Each amount converts at the rate of its own day. |
| `totals.selling` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | What buyers paid for the tickets sold. |
| `totals.payout` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | What reaches you for them; a sale outside SyncSeats without a payout counts with what the buyer paid. |
| `totals.profit` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | The payout less what the tickets sold cost. |
| `totals.margin_percent` | number or null | The profit as a share of what the tickets sold cost, in percent, to one decimal place. |
| `open_transfers` | integer | Sales whose tickets have not gone to the buyer yet. |
| `note` | string or null | Your note on the entry. Private. |
| `listing_status` | string or null | For an entry of a SyncSeats listing the listing’s `status`; null otherwise. One of `draft`, `pending_event`, `queued`, `live`, `partially_sold`, `sold`, `completed`, `off_sale`, `cancelled` or `error`. |
| `sales` | array of [Sale of an inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-sale) | The sales of the tickets, cancelled ones included, oldest first. |
| `created_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `updated_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |

#### Sale of an inventory entry

A sale of the tickets of an entry: through SyncSeats, or recorded by you. Buyers are not part of it.

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `inventory_sale`. |
| `id` | string | The id of the sale: 24 characters for a sale outside SyncSeats, our invoice number for a sale through SyncSeats. |
| `origin` | string | `syncseats` for a sale on a marketplace through SyncSeats, `external` for one you recorded. One of `syncseats` or `external`. |
| `sale_id` | string (sale id) or null | For a sale through SyncSeats the id of the sale as `GET /v1/sales` has it; null for a sale outside SyncSeats. |
| `channel` | string | `SyncSeats` for a sale through SyncSeats, otherwise the channel you recorded. |
| `marketplace` | string or null | The name of the marketplace a sale through SyncSeats was made on; null for a sale outside SyncSeats. |
| `order_id` | string or null | The order number you recorded for a sale outside SyncSeats; always null for a sale through SyncSeats. |
| `quantity` | integer | Tickets in the sale. |
| `sold_at` | string (timestamp) or null | When the sale was made; null when it was recorded without a day. |
| `selling` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | What the buyer paid for all tickets of the sale, in the currency the sale is recorded in. |
| `payout` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | What reaches you for the sale, in the currency it is recorded in. For a sale through SyncSeats it is what is expected until it is paid out. |
| `profit` | [Money](https://www.syncseats.com/developers/docs/conventions#object-money) or null | The payout less what the tickets of the sale cost, in the `currency` of the request. Null when the purchase has no amount. |
| `transferred` | boolean | Whether the tickets have gone to the buyer. |
| `cancelled` | boolean | Whether the sale was cancelled. A cancelled sale counts for nothing in the totals. |
| `delivery_status` | string or null | For a sale through SyncSeats its `status` as `GET /v1/sales` has it; null for a sale outside SyncSeats. One of `awaiting_delivery`, `awaiting_confirmation`, `delivered`, `cancelled` or `failed`. |

### List the inventory

`GET /v1/inventory`

Your inventory, newest first: every purchase you recorded and every listing of yours, each with its sales. Filter it by status, by event, by listing, or by a word of the event, the venue or the section.

`currency` sets the currency of `totals` and of the `profit` of each sale, `USD` unless you send another. Amounts you recorded stay in the currency you recorded them in: [Currencies and what an entry earned](https://www.syncseats.com/developers/docs/working-with-inventory#money).

- **Permission:** `inventory:read`: read inventory

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | optional | Only entries with this status. One of `in_stock`, `listed`, `partially_sold`, `sold` or `paid_out`. |
| `event_id` | string (id) | optional | Only entries for this catalog event. |
| `listing_id` | string (id) | optional | Only the entry of this SyncSeats listing. |
| `q` | string, 2 to 100 characters | optional | Only entries whose event, venue or section contains this text, 2 to 100 characters. |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |
| `limit` | integer, 1 to 100 | default `50` | How many to return, 1 to 100. Default 50. |
| `cursor` | string, at most 600 characters | optional | `next_cursor` of the page before. Keep the other parameters as they were. |

#### Returns

Answers `200` with a [list](https://www.syncseats.com/developers/docs/conventions#lists) of [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) objects.

#### Errors

It can answer with the errors every endpoint has: `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:

```bash
curl "https://www.syncseats.com/api/v1/inventory?status=sold" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "list",
  "data": [
    {
      "object": "inventory_item",
      "id": "673a1c9e5b2d7f4e8c0a6b52",
      "listing_id": null,
      "source": "manual",
      "status": "sold",
      "event": {
        "id": "6718d2f4a9c3b17e5d204a93",
        "name": "Derby Day",
        "venue": "Emirates Stadium",
        "starts_at_local": "2026-11-29T15:30:00",
        "passed": false
      },
      "quantity": 2,
      "sold_quantity": 2,
      "section": "105",
      "row": "C",
      "seats": ["21", "22"],
      "purchase": {
        "platform": "Ticketmaster",
        "date": "2026-10-20",
        "amount": { "amount": "150.00", "currency": "GBP" },
        "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
      },
      "totals": {
        "selling": { "amount": "241.30", "currency": "USD" },
        "payout": { "amount": "241.30", "currency": "USD" },
        "profit": { "amount": "50.80", "currency": "USD" },
        "margin_percent": 26.7
      },
      "open_transfers": 0,
      "note": null,
      "listing_status": null,
      "sales": [
        {
          "object": "inventory_sale",
          "id": "673a1d2f8e4b6c0a9d3e5f71",
          "origin": "external",
          "sale_id": null,
          "channel": "Own website",
          "marketplace": null,
          "order_id": "SK-1042",
          "quantity": 2,
          "sold_at": "2026-11-08T00:00:00.000Z",
          "selling": { "amount": "190.00", "currency": "GBP" },
          "payout": null,
          "profit": { "amount": "50.80", "currency": "USD" },
          "transferred": true,
          "cancelled": false,
          "delivery_status": null
        }
      ],
      "created_at": "2026-11-04T10:04:51.000Z",
      "updated_at": "2026-11-08T18:10:33.000Z"
    },
    {
      "object": "inventory_item",
      "id": "671f3a9c2b7d4e0f1ae48211",
      "listing_id": "671f3a9c2b7d4e0f1ae48211",
      "source": "syncseats",
      "status": "sold",
      "event": {
        "id": "6718d2f4a9c3b17e5d204a61",
        "name": "World Tour 2026, Night 2",
        "venue": "Wembley Stadium",
        "starts_at_local": "2026-12-12T19:30:00",
        "passed": false
      },
      "quantity": 2,
      "sold_quantity": 2,
      "section": "112",
      "row": "F",
      "seats": ["14", "15"],
      "purchase": {
        "platform": "Ticketmaster",
        "date": "2026-10-02",
        "amount": { "amount": "560.00", "currency": "USD" },
        "cost_per_ticket": { "amount": "280.00", "currency": "USD" }
      },
      "totals": {
        "selling": { "amount": "824.00", "currency": "USD" },
        "payout": { "amount": "743.66", "currency": "USD" },
        "profit": { "amount": "183.66", "currency": "USD" },
        "margin_percent": 32.8
      },
      "open_transfers": 1,
      "note": null,
      "listing_status": "sold",
      "sales": [
        {
          "object": "inventory_sale",
          "id": "1761470400000123",
          "origin": "syncseats",
          "sale_id": "1761470400000123",
          "channel": "SyncSeats",
          "marketplace": "Viagogo",
          "order_id": null,
          "quantity": 2,
          "sold_at": "2026-11-11T11:48:12.000Z",
          "selling": { "amount": "824.00", "currency": "USD" },
          "payout": { "amount": "743.66", "currency": "USD" },
          "profit": { "amount": "183.66", "currency": "USD" },
          "transferred": false,
          "cancelled": false,
          "delivery_status": "awaiting_delivery"
        }
      ],
      "created_at": "2026-11-11T09:26:41.000Z",
      "updated_at": "2026-11-11T12:05:18.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### Record a purchase

`POST /v1/inventory`

Records a purchase of tickets: the event, the tickets and what they cost. Send `quantity`, or `seats` for tickets with seat numbers, each seat as an entry of its own.

An event of the catalog goes by its id from [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events); the id of an event the search does not show is refused like one the catalog does not know. The date of the purchase is a day from `2000-01-01` to `2099-12-31`.

Send an `Idempotency-Key`: the same request sent again then gets the same answer, and the purchase is not recorded twice.

- **Permission:** `inventory:write`: change inventory
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `event` | any value | required | The event: a catalog event as `{ "id" }`, or one the catalog does not have as `{ "name", "venue", "starts_at_local" }`. |
| `quantity` | integer, 1 to 10,000 | optional | How many tickets, 1 to 10,000. Needed without `seats`; with them it is their number. |
| `section` | string, 1 to 100 characters | optional | As printed on the ticket, at most 100 characters. |
| `row` | string, 1 to 50 characters | optional | As printed on the ticket, at most 50 characters. |
| `seats` | array of strings, 1 to 500 items | optional | The seats, one entry each, e.g. `["14", "15"]`, at most 500. Their count is the quantity. |
| `purchase` | object | optional | What the tickets cost. |
| `purchase.platform` | string, 1 to 100 characters | optional | Where the tickets were bought, for example Ticketmaster. |
| `purchase.date` | string | optional | The day of the purchase, `YYYY-MM-DD`. |
| `purchase.amount` | object | optional | What all tickets cost together, in USD, EUR or GBP. |
| `purchase.amount.amount` | string | required | The amount as a decimal string, at most two places. |
| `purchase.amount.currency` | string | required | `USD`, `EUR` or `GBP`. The inventory keeps the amount in this currency; nothing is converted when it is saved. One of `USD`, `EUR` or `GBP`. |
| `note` | string, at most 5,000 characters | optional | A note for yourself, at most 5,000 characters. Private. |
| `status` | string | optional | A status of your own, which replaces the one the sales give. One of `in_stock`, `listed`, `partially_sold`, `sold` or `paid_out`. |

#### Returns

Answers `201` with the [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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. |
| `409` | `idempotency_in_progress` | A request with this Idempotency-Key is still running. |
| `422` | `idempotency_key_reused` | This Idempotency-Key was used for a different request. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/inventory?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-derby-purchase" \
  -d '{
    "event": { "id": "6718d2f4a9c3b17e5d204a93" },
    "section": "105",
    "row": "C",
    "seats": ["21", "22"],
    "purchase": {
      "platform": "Ticketmaster",
      "date": "2026-10-20",
      "amount": { "amount": "150.00", "currency": "GBP" }
    }
  }'
```

Response, `201`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "listing_id": null,
  "source": "manual",
  "status": "in_stock",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at_local": "2026-11-29T15:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 0,
  "section": "105",
  "row": "C",
  "seats": ["21", "22"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-20",
    "amount": { "amount": "150.00", "currency": "GBP" },
    "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
  },
  "totals": {
    "selling": null,
    "payout": null,
    "profit": null,
    "margin_percent": null
  },
  "open_transfers": 0,
  "note": null,
  "listing_status": null,
  "sales": [],
  "created_at": "2026-11-04T10:04:51.000Z",
  "updated_at": "2026-11-04T10:04:51.000Z"
}
```

### Get an inventory entry

`GET /v1/inventory/{id}`

One entry of your inventory. For an entry of a listing its id is the listing’s.

- **Permission:** `inventory:read`: read inventory

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the entry; for an entry of a listing the listing’s id. |

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |

#### Returns

Answers `200` with the [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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. |

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:

```bash
curl "https://www.syncseats.com/api/v1/inventory/671f3a9c2b7d4e0f1ae48211" \
  -H "Authorization: Bearer ssapi_test_..."
```

Response, `200`:

```json
{
  "object": "inventory_item",
  "id": "671f3a9c2b7d4e0f1ae48211",
  "listing_id": "671f3a9c2b7d4e0f1ae48211",
  "source": "syncseats",
  "status": "sold",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a61",
    "name": "World Tour 2026, Night 2",
    "venue": "Wembley Stadium",
    "starts_at_local": "2026-12-12T19:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 2,
  "section": "112",
  "row": "F",
  "seats": ["14", "15"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-02",
    "amount": { "amount": "560.00", "currency": "USD" },
    "cost_per_ticket": { "amount": "280.00", "currency": "USD" }
  },
  "totals": {
    "selling": { "amount": "824.00", "currency": "USD" },
    "payout": { "amount": "743.66", "currency": "USD" },
    "profit": { "amount": "183.66", "currency": "USD" },
    "margin_percent": 32.8
  },
  "open_transfers": 1,
  "note": null,
  "listing_status": "sold",
  "sales": [
    {
      "object": "inventory_sale",
      "id": "1761470400000123",
      "origin": "syncseats",
      "sale_id": "1761470400000123",
      "channel": "SyncSeats",
      "marketplace": "Viagogo",
      "order_id": null,
      "quantity": 2,
      "sold_at": "2026-11-11T11:48:12.000Z",
      "selling": { "amount": "824.00", "currency": "USD" },
      "payout": { "amount": "743.66", "currency": "USD" },
      "profit": { "amount": "183.66", "currency": "USD" },
      "transferred": false,
      "cancelled": false,
      "delivery_status": "awaiting_delivery"
    }
  ],
  "created_at": "2026-11-11T09:26:41.000Z",
  "updated_at": "2026-11-11T12:05:18.000Z"
}
```

### Change an inventory entry

`PATCH /v1/inventory/{id}`

Changes the fields you send and leaves the others as they are; `null` removes a value. An entry of a listing takes only `purchase`, `note` and `status`, and answers anything else with `409 conflict`.

On an entry of a listing, an amount in `purchase` becomes the cost of the listing, so the amount and the date of the purchase there also take `listings:write`, and with a live key a verified identity: [The purchase becomes the cost of the listing](https://www.syncseats.com/developers/docs/working-with-inventory#cost).

- **Permission:** `inventory:write`: change inventory
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the entry; for an entry of a listing the listing’s id. |

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `event` | any value | optional | The event: a catalog event as `{ "id" }`, or one the catalog does not have as `{ "name", "venue", "starts_at_local" }`. |
| `quantity` | integer, 1 to 10,000 | optional | How many tickets, 1 to 10,000. |
| `section` | string, 1 to 100 characters or null | optional | As printed on the ticket, at most 100 characters. |
| `row` | string, 1 to 50 characters or null | optional | As printed on the ticket, at most 50 characters. |
| `seats` | array of strings, 1 to 500 items or null | optional | The seats, one entry each, e.g. `["14", "15"]`, at most 500. Their count is the quantity. |
| `purchase` | object | optional | What the tickets cost; `null` removes a value. |
| `purchase.platform` | string, 1 to 100 characters or null | optional | Where the tickets were bought, for example Ticketmaster. |
| `purchase.date` | string or null | optional | The day of the purchase, `YYYY-MM-DD`. |
| `purchase.amount` | object or null | optional | What all tickets cost together, in USD, EUR or GBP. |
| `purchase.amount.amount` | string | required | The amount as a decimal string, at most two places. |
| `purchase.amount.currency` | string | required | `USD`, `EUR` or `GBP`. The inventory keeps the amount in this currency; nothing is converted when it is saved. One of `USD`, `EUR` or `GBP`. |
| `note` | string, at most 5,000 characters or null | optional | A note for yourself, at most 5,000 characters. Private. |
| `status` | string or null | optional | A status of your own, which replaces the one the sales give; `null` lets the sales decide again. One of `in_stock`, `listed`, `partially_sold`, `sold` or `paid_out`. |

#### Returns

Answers `200` with the [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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

Request:

```bash
curl -X PATCH "https://www.syncseats.com/api/v1/inventory/671f3a9c2b7d4e0f1ae48211" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-48211-purchase" \
  -d '{
    "purchase": {
      "platform": "Ticketmaster",
      "date": "2026-10-02"
    }
  }'
```

Response, `200`:

```json
{
  "object": "inventory_item",
  "id": "671f3a9c2b7d4e0f1ae48211",
  "listing_id": "671f3a9c2b7d4e0f1ae48211",
  "source": "syncseats",
  "status": "sold",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a61",
    "name": "World Tour 2026, Night 2",
    "venue": "Wembley Stadium",
    "starts_at_local": "2026-12-12T19:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 2,
  "section": "112",
  "row": "F",
  "seats": ["14", "15"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-02",
    "amount": { "amount": "560.00", "currency": "USD" },
    "cost_per_ticket": { "amount": "280.00", "currency": "USD" }
  },
  "totals": {
    "selling": { "amount": "824.00", "currency": "USD" },
    "payout": { "amount": "743.66", "currency": "USD" },
    "profit": { "amount": "183.66", "currency": "USD" },
    "margin_percent": 32.8
  },
  "open_transfers": 1,
  "note": null,
  "listing_status": "sold",
  "sales": [
    {
      "object": "inventory_sale",
      "id": "1761470400000123",
      "origin": "syncseats",
      "sale_id": "1761470400000123",
      "channel": "SyncSeats",
      "marketplace": "Viagogo",
      "order_id": null,
      "quantity": 2,
      "sold_at": "2026-11-11T11:48:12.000Z",
      "selling": { "amount": "824.00", "currency": "USD" },
      "payout": { "amount": "743.66", "currency": "USD" },
      "profit": { "amount": "183.66", "currency": "USD" },
      "transferred": false,
      "cancelled": false,
      "delivery_status": "awaiting_delivery"
    }
  ],
  "created_at": "2026-11-11T09:26:41.000Z",
  "updated_at": "2026-11-11T12:05:18.000Z"
}
```

### Delete an inventory entry

`DELETE /v1/inventory/{id}`

Deletes a purchase you recorded, with its sales. An entry of a listing stays as long as the listing does and answers `409 conflict`.

- **Permission:** `inventory:write`: change inventory
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the entry; for an entry of a listing the listing’s id. |

#### Returns

Answers `200` with a deleted inventory entry object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `inventory_item`. |
| `id` | string (id) |  |
| `deleted` | boolean | Always `true`. |

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` and `503 api_suspended`.

#### Example

Request:

```bash
curl -X DELETE "https://www.syncseats.com/api/v1/inventory/673a1c9e5b2d7f4e8c0a6b52" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: pos-derby-purchase-delete"
```

Response, `200`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "deleted": true
}
```

### Record a sale outside SyncSeats

`POST /v1/inventory/{id}/sales`

Records a sale outside SyncSeats on a purchase of yours, for example on a channel of your own. An entry of a listing takes none and answers `409 conflict`: its sales come from the marketplaces.

Nothing about the buyer is taken. `payout` is what reaches you, when it differs from what the buyer paid.

An entry takes up to 200 sales, cancelled ones included; the next one answers `409 conflict`. `sold_at` is a day from `2000-01-01` to `2099-12-31`.

- **Permission:** `inventory:write`: change inventory
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the entry; for an entry of a listing the listing’s id. |

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `channel` | string, 1 to 100 characters | required | Where the tickets sold, at most 100 characters. |
| `quantity` | integer, 1 to 10,000 | required | How many tickets sold, 1 to 10,000. |
| `sold_at` | string | optional | The day of the sale, `YYYY-MM-DD`. |
| `selling` | object | required | What the buyer paid for all tickets of the sale. |
| `selling.amount` | string | required | The amount as a decimal string, at most two places. |
| `selling.currency` | string | required | `USD`, `EUR` or `GBP`. The inventory keeps the amount in this currency; nothing is converted when it is saved. One of `USD`, `EUR` or `GBP`. |
| `payout` | object | optional | What reaches you for the sale, when it differs from what the buyer paid. |
| `payout.amount` | string | required | The amount as a decimal string, at most two places. |
| `payout.currency` | string | required | `USD`, `EUR` or `GBP`. The inventory keeps the amount in this currency; nothing is converted when it is saved. One of `USD`, `EUR` or `GBP`. |
| `order_id` | string, 1 to 200 characters | optional | Your order number of the sale, at most 200 characters. |
| `transferred` | boolean | optional | Whether the tickets have gone to the buyer. |
| `note` | string, at most 2,000 characters | optional | A note for yourself, at most 2,000 characters. Private. |

#### Returns

Answers `201` with the [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` | `idempotency_in_progress` | A request with this Idempotency-Key is still running. |
| `422` | `idempotency_key_reused` | This Idempotency-Key was used for a different request. |

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:

```bash
curl -X POST "https://www.syncseats.com/api/v1/inventory/673a1c9e5b2d7f4e8c0a6b52/sales?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-derby-sale" \
  -d '{
    "channel": "Own website",
    "quantity": 2,
    "sold_at": "2026-11-08",
    "selling": { "amount": "190.00", "currency": "GBP" },
    "order_id": "SK-1042"
  }'
```

Response, `201`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "listing_id": null,
  "source": "manual",
  "status": "sold",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at_local": "2026-11-29T15:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 2,
  "section": "105",
  "row": "C",
  "seats": ["21", "22"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-20",
    "amount": { "amount": "150.00", "currency": "GBP" },
    "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
  },
  "totals": {
    "selling": { "amount": "190.00", "currency": "GBP" },
    "payout": { "amount": "190.00", "currency": "GBP" },
    "profit": { "amount": "40.00", "currency": "GBP" },
    "margin_percent": 26.7
  },
  "open_transfers": 1,
  "note": null,
  "listing_status": null,
  "sales": [
    {
      "object": "inventory_sale",
      "id": "673a1d2f8e4b6c0a9d3e5f71",
      "origin": "external",
      "sale_id": null,
      "channel": "Own website",
      "marketplace": null,
      "order_id": "SK-1042",
      "quantity": 2,
      "sold_at": "2026-11-08T00:00:00.000Z",
      "selling": { "amount": "190.00", "currency": "GBP" },
      "payout": null,
      "profit": { "amount": "40.00", "currency": "GBP" },
      "transferred": false,
      "cancelled": false,
      "delivery_status": null
    }
  ],
  "created_at": "2026-11-04T10:04:51.000Z",
  "updated_at": "2026-11-08T17:42:09.000Z"
}
```

### Change a sale outside SyncSeats

`PATCH /v1/inventory/{id}/sales/{sale_id}`

Changes a sale you recorded, for example once the tickets have gone to the buyer. A sale through SyncSeats is not changed here and answers `409 conflict`.

- **Permission:** `inventory:write`: change inventory
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the entry; for an entry of a listing the listing’s id. |
| `sale_id` | string | required | The id of the sale, as under `sales` of the entry. |

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `channel` | string, 1 to 100 characters | optional | Where the tickets sold, at most 100 characters. |
| `quantity` | integer, 1 to 10,000 | optional | How many tickets sold, 1 to 10,000. |
| `sold_at` | string or null | optional | The day of the sale, `YYYY-MM-DD`; `null` removes it. |
| `selling` | object | optional | What the buyer paid for all tickets of the sale. |
| `selling.amount` | string | required | The amount as a decimal string, at most two places. |
| `selling.currency` | string | required | `USD`, `EUR` or `GBP`. The inventory keeps the amount in this currency; nothing is converted when it is saved. One of `USD`, `EUR` or `GBP`. |
| `payout` | object or null | optional | What reaches you for the sale; `null` removes it. |
| `payout.amount` | string | required | The amount as a decimal string, at most two places. |
| `payout.currency` | string | required | `USD`, `EUR` or `GBP`. The inventory keeps the amount in this currency; nothing is converted when it is saved. One of `USD`, `EUR` or `GBP`. |
| `order_id` | string, 1 to 200 characters or null | optional | Your order number of the sale, at most 200 characters. |
| `transferred` | boolean | optional | Whether the tickets have gone to the buyer. |
| `note` | string, at most 2,000 characters or null | optional | A note for yourself, at most 2,000 characters. Private. |

#### Returns

Answers `200` with the [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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

Request:

```bash
curl -X PATCH "https://www.syncseats.com/api/v1/inventory/673a1c9e5b2d7f4e8c0a6b52/sales/673a1d2f8e4b6c0a9d3e5f71?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: pos-derby-sale-transferred" \
  -d '{ "transferred": true }'
```

Response, `200`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "listing_id": null,
  "source": "manual",
  "status": "sold",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at_local": "2026-11-29T15:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 2,
  "section": "105",
  "row": "C",
  "seats": ["21", "22"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-20",
    "amount": { "amount": "150.00", "currency": "GBP" },
    "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
  },
  "totals": {
    "selling": { "amount": "190.00", "currency": "GBP" },
    "payout": { "amount": "190.00", "currency": "GBP" },
    "profit": { "amount": "40.00", "currency": "GBP" },
    "margin_percent": 26.7
  },
  "open_transfers": 0,
  "note": null,
  "listing_status": null,
  "sales": [
    {
      "object": "inventory_sale",
      "id": "673a1d2f8e4b6c0a9d3e5f71",
      "origin": "external",
      "sale_id": null,
      "channel": "Own website",
      "marketplace": null,
      "order_id": "SK-1042",
      "quantity": 2,
      "sold_at": "2026-11-08T00:00:00.000Z",
      "selling": { "amount": "190.00", "currency": "GBP" },
      "payout": null,
      "profit": { "amount": "40.00", "currency": "GBP" },
      "transferred": true,
      "cancelled": false,
      "delivery_status": null
    }
  ],
  "created_at": "2026-11-04T10:04:51.000Z",
  "updated_at": "2026-11-08T18:10:33.000Z"
}
```

### Delete a sale outside SyncSeats

`DELETE /v1/inventory/{id}/sales/{sale_id}`

Deletes a sale you recorded and answers with the entry without it. A sale through SyncSeats answers `409 conflict`.

- **Permission:** `inventory:write`: change inventory
- **Idempotency-Key:** Recommended, so the request is safe to send again. See [Safe retries](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the entry; for an entry of a listing the listing’s id. |
| `sale_id` | string | required | The id of the sale, as under `sales` of the entry. |

#### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | default `USD` | The currency of `totals` and of the `profit` of each sale. Amounts you recorded stay in their own currency. One of `USD`, `EUR` or `GBP`. |

#### Returns

Answers `200` with the [Inventory entry](https://www.syncseats.com/developers/docs/api-inventory#object-inventory-item) object.

#### Errors

| Status | Code | What it means |
| --- | --- | --- |
| `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` and `503 api_suspended`.

#### Example

Request:

```bash
curl -X DELETE "https://www.syncseats.com/api/v1/inventory/673a1c9e5b2d7f4e8c0a6b52/sales/673a1d2f8e4b6c0a9d3e5f71?currency=GBP" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: pos-derby-sale-delete"
```

Response, `200`:

```json
{
  "object": "inventory_item",
  "id": "673a1c9e5b2d7f4e8c0a6b52",
  "listing_id": null,
  "source": "manual",
  "status": "in_stock",
  "event": {
    "id": "6718d2f4a9c3b17e5d204a93",
    "name": "Derby Day",
    "venue": "Emirates Stadium",
    "starts_at_local": "2026-11-29T15:30:00",
    "passed": false
  },
  "quantity": 2,
  "sold_quantity": 0,
  "section": "105",
  "row": "C",
  "seats": ["21", "22"],
  "purchase": {
    "platform": "Ticketmaster",
    "date": "2026-10-20",
    "amount": { "amount": "150.00", "currency": "GBP" },
    "cost_per_ticket": { "amount": "75.00", "currency": "GBP" }
  },
  "totals": {
    "selling": null,
    "payout": null,
    "profit": null,
    "margin_percent": null
  },
  "open_transfers": 0,
  "note": null,
  "listing_status": null,
  "sales": [],
  "created_at": "2026-11-04T10:04:51.000Z",
  "updated_at": "2026-11-21T09:15:02.000Z"
}
```

## 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](https://www.syncseats.com/developers/docs/test-mode) explains what the sandbox is.

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`POST /v1/sandbox/sales`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-create-sale) | Simulate a sale | `listings:write`, test keys only |
| [`POST /v1/sandbox/sales/{id}/advance`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-advance-sale) | Move a simulated sale on | `listings:write`, test keys only |
| [`POST /v1/sandbox/listings/{id}/require-choice`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-require-choice) | Make a marketplace wait for a choice | `listings:write`, test keys only |
| [`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#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](https://www.syncseats.com/developers/docs/safe-retries).

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `listing_id` | string (id) | required | A sandbox listing of yours that is on sale. |
| `quantity` | integer, 1 to 50 | optional | How many tickets sell. Left out: all that are available. |
| `marketplace_id` | string (id) | optional | The marketplace the sale is made on, one of the listing’s. Left out: its first. |

#### Returns

Answers `201` with the [Sale](https://www.syncseats.com/developers/docs/api-sales#object-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

Request:

```bash
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`:

```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`](https://www.syncseats.com/developers/docs/api-sales#create-delivery-uploads) and [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) 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](https://www.syncseats.com/developers/docs/safe-retries).

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (sale id) | required | The id of the sale: its invoice number. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `to` | string | required | The step to act out. One of `proof_submitted`, `delivered`, `cancelled`, `marketplace_paid` or `paid_out`. |
| `charge` | object | optional | Only with `cancelled`: a penalty for the cancellation. |
| `charge.amount` | [Money in a request](https://www.syncseats.com/developers/docs/conventions#object-money-input) | required | The penalty, in USD. |
| `charge.reason` | string, 1 to 200 characters | required |  |

#### Returns

Answers `200` with the [Sale](https://www.syncseats.com/developers/docs/api-sales#object-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

Request:

```bash
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`:

```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`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option). The listing has to be on sale.

Test endpoints for webhooks get `listing.action_required`. [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode#choices) 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](https://www.syncseats.com/developers/docs/safe-retries).
- **ETag:** The answer carries the listing’s `version` in this header too.

#### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (id) | required | The id of the listing. |

#### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `marketplace_id` | string (id) | required | One of the listing’s marketplaces. |
| `kind` | string | required | 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](https://www.syncseats.com/developers/docs/api-listings#object-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

Request:

```bash
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`:

```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](https://www.syncseats.com/developers/docs/safe-retries).

#### Returns

Answers `200` with a sandbox reset object:

| Field | Type | Description |
| --- | --- | --- |
| `object` | string | Always `sandbox_reset`. |
| `deleted` | object |  |
| `deleted.listings` | integer |  |
| `deleted.sales` | integer |  |
| `deleted.payouts` | integer |  |
| `deleted.charges` | integer |  |
| `deleted.inventory_items` | 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

Request:

```bash
curl -X POST "https://www.syncseats.com/api/v1/sandbox/reset" \
  -H "Authorization: Bearer ssapi_test_..." \
  -H "Idempotency-Key: sandbox-reset-1"
```

Response, `200`:

```json
{
  "object": "sandbox_reset",
  "deleted": {
    "listings": 3,
    "sales": 2,
    "payouts": 1,
    "charges": 1,
    "inventory_items": 1
  }
}
```

## Webhooks

SyncSeats sends signed events to your server when something happens on your account: a sale, a delivery, a payout, a change to a listing.

### How it works

A webhook endpoint is an address on your server. When something happens on your account, SyncSeats sends a `POST` with an event as JSON to it. You answer with a status in the 200s, and the event counts as delivered.

The events are the occasions SyncSeats also tells you about by email, Discord or push: a sale, a delivery, a payout, a change to a listing. With a webhook your software hears of them without asking.

A change to [the inventory](https://www.syncseats.com/developers/docs/working-with-inventory) sends no event: your software makes those changes itself, or reads them with [`GET /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#list-inventory).

### Adding an endpoint

Endpoints are managed in the dashboard under [Settings, Developers](https://www.syncseats.com/app/settings/developers), not through the API. An account can have up to 5 endpoints for each mode.

1. Give the endpoint a name and its address, for example `https://pos.example.com/hooks/syncseats`.
2. Choose the event types it receives, or all of them.
3. Decide whether its sale events include the transfer recipient.
4. Copy the signing secret. It starts with `sswhsec_` and is shown once.

Adding a live endpoint, or including the recipient, asks for the code of your authenticator app and sends you a security email.

### Rules for the address

- It starts with `https://` and uses the usual port for it, 443.
- Its host is a full domain name: no IP address, and no single word such as `localhost`.
- It carries no user name or password and no fragment.
- It is at most 500 characters long.
- The host resolves to a public address. Domain endings that are reserved for private networks and tests are refused.
- It answers itself. A redirect counts as a failed delivery.

### The event

Every delivery is one event. This is `sale.created` for the example sale:

```json
{
  "id": "evt_673201c4e5a7b9d0f1a2b310",
  "object": "event",
  "type": "sale.created",
  "mode": "test",
  "api_version": "v1",
  "created_at": "2026-11-11T11:48:12.000Z",
  "data": {
    "object": {
      "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
    }
  }
}
```

| Field | Type | Description |
| --- | --- | --- |
| `id` | string (webhook event id) | The same for every delivery of the event: use it to drop duplicates. |
| `object` | string | Always `event`. |
| `type` | string | One of `sale.created`, `sale.recipient_updated`, `sale.delivery_due`, `sale.proof_submitted`, `sale.proof_reset`, `sale.delivered`, `sale.cancelled`, `sale.payout_ready`, `payout.paid`, `listing.created`, `listing.live`, `listing.updated`, `listing.deleted`, `listing.marketplace_added`, `listing.action_required`, `report.weekly` or `ping`. |
| `mode` | string | One of `live` or `test`. |
| `api_version` | string | Always `v1`. |
| `created_at` | string (timestamp) | ISO 8601 in UTC, e.g. `2026-12-09T19:30:00.000Z`. |
| `data` | object | `object`, and for some events a few fields beside it. |
| `data.object` | any value | What the event is about, in the shape the API returns it. |

`data.object` is what the event is about, in the shape the API returns it: a sale in an event reads like the answer of [`GET /v1/sales/{id}`](https://www.syncseats.com/developers/docs/api-sales#get-sale). It shows the object as it was when the event happened.

### Event types

| Type | When it is sent | What `data.object` is | Also in `data` |
| --- | --- | --- | --- |
| `sale.created` | Tickets of one of your listings sold. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.recipient_updated` | The marketplace named the transfer recipient of a sale, or changed it. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.delivery_due` | A sale is still to deliver and its deadline is close. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) | `hours_left` |
| `sale.proof_submitted` | A proof of transfer was uploaded for a sale; it waits for confirmation. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.proof_reset` | Our team reset the proof of a sale; it has to be delivered again. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) | `reason` |
| `sale.delivered` | The delivery of a sale is confirmed. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.cancelled` | A sale was cancelled, with or without a charge. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.payout_ready` | The marketplace paid for a sale; it can go into a payout. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `payout.paid` | A payout was sent to your bank account. | [Payout](https://www.syncseats.com/developers/docs/api-payouts#object-payout) |  |
| `listing.created` | A listing was created and is on its way to its marketplaces. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) |  |
| `listing.live` | A listing went live on a marketplace. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) |  |
| `listing.updated` | A listing was changed. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) | `changes` |
| `listing.deleted` | A listing was taken off every marketplace and archived. | Deleted listing |  |
| `listing.marketplace_added` | SyncSeats added a new marketplace to your open listings. | A `marketplace_added` object |  |
| `listing.action_required` | A marketplace waits for a choice on a listing: a fan section, a category or how the seats sit together. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) | `marketplace` |
| `report.weekly` | Your numbers of the last week. | A `weekly_report` object |  |
| `ping` | Sent from the developers page to check an endpoint. | A `ping` object |  |

Some types carry fields of their own in `data`:

| Type | Field | What it holds | Description |
| --- | --- | --- | --- |
| `sale.delivery_due` | `data.hours_left` | number or null | Hours until the in-hand deadline when the reminder went out. |
| `sale.proof_reset` | `data.reason` | string or null |  |
| `listing.updated` | `data.changes` | array of objects | What changed, as the dashboard words it. Empty when the change is not itemized. |
| `listing.updated` | `data.changes[].field` | string |  |
| `listing.updated` | `data.changes[].from` | string or null |  |
| `listing.updated` | `data.changes[].to` | string or null |  |
| `listing.deleted` | `data.object` | object | What `DELETE /v1/listings/{id}` answers once the listing is off every marketplace and archived. |
| `listing.deleted` | `data.object.object` | string | Always `listing`. |
| `listing.deleted` | `data.object.id` | string (id) |  |
| `listing.deleted` | `data.object.deleted` | boolean | Always `true`. |
| `listing.marketplace_added` | `data.object` | object |  |
| `listing.marketplace_added` | `data.object.object` | string | Always `marketplace_added`. |
| `listing.marketplace_added` | `data.object.marketplace` | object |  |
| `listing.marketplace_added` | `data.object.marketplace.id` | string (id) or null |  |
| `listing.marketplace_added` | `data.object.marketplace.name` | string |  |
| `listing.marketplace_added` | `data.object.listing_ids` | array of ids |  |
| `listing.action_required` | `data.marketplace` | object | The marketplace that waits; its entry under `object.marketplaces` has the choice under `action`. `id` is null when your account no longer has the marketplace. |
| `listing.action_required` | `data.marketplace.id` | string (id) or null |  |
| `listing.action_required` | `data.marketplace.name` | string |  |
| `report.weekly` | `data.object` | object |  |
| `report.weekly` | `data.object.object` | string | Always `weekly_report`. |
| `report.weekly` | `data.object.week` | string or null | The week the numbers are for, as the report words it. |
| `report.weekly` | `data.object.sales` | integer |  |
| `report.weekly` | `data.object.tickets_sold` | integer |  |
| `report.weekly` | `data.object.revenue` | string or null | Gross revenue, formatted in your display currency. |
| `report.weekly` | `data.object.payout` | string or null | Net payout, formatted in your display currency. |
| `ping` | `data.object` | object |  |
| `ping` | `data.object.object` | string | Always `ping`. |
| `ping` | `data.object.message` | string |  |

### When a marketplace waits for a choice

`listing.action_required` goes out when a marketplace of a listing starts to wait for a choice: a fan section, a category or how the seats sit together. It comes once each time a marketplace starts to wait, whatever your email settings say. When a marketplace waits for more than one choice at the same time, one event may stand for all of them: after you answer one, the listing in the answer shows the next.

`data.object` is the listing. Its entry for that marketplace under `marketplaces` has the choice under `action`, with the options to pick from. `data.marketplace` names the marketplace that waits, so you need not search the list for it:

data:

```json
{
  "marketplace": {
    "id": "66a0c41e7b2d9f3a10c5e803",
    "name": "SeatGeek"
  }
}
```

Its `id` is `null` when your account no longer has the marketplace. Answer with [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option), or in the dashboard; [When a marketplace needs a choice](https://www.syncseats.com/developers/docs/working-with-listings#choices) explains the choices.

### New event types

SyncSeats adds event types as the API grows, as it did with `listing.action_required`. An endpoint that receives all events gets a new type without a change on your side, and one with a choice of types gets only the types it chose.

So handle the types you know and skip the others, and answer every event with a status in the 200s, a type you skip as well. An event you do not answer counts as failed and is sent again.

### What a delivery carries

| Header | What it carries |
| --- | --- |
| `SyncSeats-Signature` | The time of sending and the signature: `t=<unix seconds>,v1=<hex>`. |
| `SyncSeats-Event-Id` | The `id` of the event. |
| `SyncSeats-Event-Type` | The `type` of the event. |
| `SyncSeats-Delivery-Id` | The id of this delivery to your endpoint. |
| `Content-Type` | `application/json` |
| `User-Agent` | `SyncSeats-Webhooks/1.0` |

### Verifying the signature

Anyone who knows the address of your endpoint can send a request to it. The signature shows that an event comes from SyncSeats and was not changed on the way. Check it before you trust the body.

1. Take the body as the bytes that arrived, before a JSON parser touches them.
2. Split the `SyncSeats-Signature` header at the comma into `t`, a time in Unix seconds, and `v1`, a string of hex digits.
3. Refuse the event when `t` is more than 300 seconds (5 minutes) away from your clock. That keeps a recorded event from being sent to you again later.
4. Compute the HMAC-SHA256 of `t`, a dot and the body. The key is your signing secret as it was shown to you, with its `sswhsec_` at the start.
5. Compare the result, written in hex, with `v1` in constant time. If they differ, answer `400` and do nothing else.

Node.js:

```javascript
import { createHmac, timingSafeEqual } from 'node:crypto'
import { createServer } from 'node:http'

// The signing secret of the endpoint. It starts with sswhsec_.
const SECRET = process.env.SYNCSEATS_WEBHOOK_SECRET
const TOLERANCE_SECONDS = 300

function isFromSyncSeats(body, header) {
  // The header reads: t=<unix seconds>,v1=<hex>
  const parts = Object.fromEntries(header.split(',').map(part => part.trim().split('=')))
  const sentAt = Number(parts.t)
  if (!parts.t || !parts.v1 || !Number.isFinite(sentAt)) return false
  if (Math.abs(Date.now() / 1000 - sentAt) > TOLERANCE_SECONDS) return false
  const expected = createHmac('sha256', SECRET).update(parts.t + '.').update(body).digest()
  const given = Buffer.from(parts.v1, 'hex')
  return given.length === expected.length && timingSafeEqual(given, expected)
}

const handled = new Set() // keep these in your database

function handle(event) {
  if (handled.has(event.id)) return // delivered before
  handled.add(event.id)
  if (event.type === 'sale.created') console.log('Sold:', event.data.object.id)
}

createServer((request, response) => {
  const chunks = []
  request.on('data', chunk => chunks.push(chunk))
  request.on('end', () => {
    const body = Buffer.concat(chunks) // the raw bytes, before any parsing
    if (!isFromSyncSeats(body, request.headers['syncseats-signature'] ?? '')) {
      response.writeHead(400).end()
      return
    }
    response.writeHead(204).end() // answer first
    handle(JSON.parse(body.toString('utf8'))) // then do the work
  })
}).listen(8080)
```

Python:

```python
import hashlib
import hmac
import json
import os
import time
from http.server import BaseHTTPRequestHandler, HTTPServer

# The signing secret of the endpoint. It starts with sswhsec_.
SECRET = os.environ["SYNCSEATS_WEBHOOK_SECRET"].encode()
TOLERANCE_SECONDS = 300


def is_from_syncseats(body: bytes, header: str) -> bool:
    # The header reads: t=<unix seconds>,v1=<hex>
    parts = dict(part.strip().split("=", 1) for part in header.split(",") if "=" in part)
    sent_at, given = parts.get("t", ""), parts.get("v1", "")
    if not sent_at.isdigit() or abs(time.time() - int(sent_at)) > TOLERANCE_SECONDS:
        return False
    expected = hmac.new(SECRET, sent_at.encode() + b"." + body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected.encode(), given.lower().encode())


handled = set()  # keep these in your database


def handle(event: dict) -> None:
    if event["id"] in handled:  # delivered before
        return
    handled.add(event["id"])
    if event["type"] == "sale.created":
        print("Sold:", event["data"]["object"]["id"])


class Webhook(BaseHTTPRequestHandler):
    def do_POST(self):
        body = self.rfile.read(int(self.headers.get("Content-Length", 0)))  # the raw bytes
        if not is_from_syncseats(body, self.headers.get("SyncSeats-Signature", "")):
            self.send_response(400)
            self.end_headers()
            return
        self.send_response(204)  # answer first
        self.end_headers()
        handle(json.loads(body))  # then do the work


HTTPServer(("", 8080), Webhook).serve_forever()
```

> **Sign what arrived, not what you parsed** The signature covers the bytes SyncSeats sent. A body that was parsed and written out again can differ in its spaces or in the order of its fields, and then the check fails. Most web frameworks have a way to hand you the raw body.

### Answering

Answer with any status in the 200s within 10 seconds. The body of your answer is not read.

Answer first and work afterwards: store the event, or put it in a queue, and return. An endpoint that works for longer than the time allows counts as failed, even when the work went through.

### Retries

A delivery fails when your endpoint answers with another status or a redirect, takes too long or cannot be reached. Then SyncSeats tries again:

| Attempt | When |
| --- | --- |
| 1 | After the event |
| 2 | 1 minute after attempt 1 failed |
| 3 | 5 minutes after attempt 2 failed |
| 4 | 30 minutes after attempt 3 failed |
| 5 | 2 hours after attempt 4 failed |
| 6 | 4 hours after attempt 5 failed |
| 7 | 8 hours after attempt 6 failed |
| 8 | 10 hours after attempt 7 failed |

That is 8 attempts over about 25 hours. After the last one the delivery is marked as failed and is not tried again. The dashboard shows the recent deliveries of each endpoint and how they went.

There you can also send a delivery that is over once more, for example after your server was down longer than the retries last. It comes as a new delivery of the same event, with the same event id and a new signature, so a receiver that drops events it already has by id takes it once. It is tried once: when it fails, the dashboard says so, and you can send it again.

### Twice, and out of order

An event can reach you more than once, for example when your answer got lost on the way. Every delivery of an event carries the same `id`: keep the ids you have handled, and skip an event you know.

Events can also arrive in another order than they happened, since a retry of an earlier event can come after a later one. So do not build what you know from the order of events. Take it from `data.object`, or read the object from the API when an event arrives.

### When an endpoint stops

After 30 failed attempts in a row, SyncSeats stops sending to an endpoint. Turn it back on in the dashboard once your server answers again. The deliveries that were still on their way wait for that and go out then; events that happen while it is stopped are not sent to it.

Endpoints are also stopped when the keys of the account are ended: after a password reset or change, a new authenticator or a suspension. Then the deliveries on their way are dropped, and turning a live endpoint back on takes your authenticator code.

Pausing an endpoint drops the deliveries on their way to it as well, and while it is paused it gets no events.

Events and their deliveries are kept for 30 days.

### The transfer recipient

A sale in an event comes without its transfer recipient. For an endpoint with Include the transfer recipient switched on, sale events carry `recipient`, as the API does for a key with `recipients:read`. Switch it on only for an endpoint that needs it, and keep the data no longer than the transfer needs it.

### Trying it out

- Send test on the developers page sends a `ping` event to an endpoint and shows how the delivery went. `ping` reaches every endpoint, whatever event types it chose.
- A test endpoint receives the events of the sandbox, with `mode` set to `test`: [`POST /v1/sandbox/sales`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-create-sale) sends it `sale.created`. [Test mode and the sandbox](https://www.syncseats.com/developers/docs/test-mode) lists what each step sends.
- Roll secret gives an endpoint a new signing secret. The old one stops working with that, so have your server ready for the new one.

## Quick reference

### Every endpoint

| Endpoint | What it does | Permission |
| --- | --- | --- |
| [`GET /v1/me`](https://www.syncseats.com/developers/docs/api-account#get-me) | The key in use | Any valid key |
| [`GET /v1/events`](https://www.syncseats.com/developers/docs/api-catalog#search-events) | Search events | Any valid key |
| [`GET /v1/events/{id}`](https://www.syncseats.com/developers/docs/api-catalog#get-event) | Get an event | Any valid key |
| [`GET /v1/marketplaces`](https://www.syncseats.com/developers/docs/api-catalog#list-marketplaces) | List marketplaces | Any valid key |
| [`GET /v1/listing-options`](https://www.syncseats.com/developers/docs/api-catalog#get-listing-options) | Listing options | Any valid key |
| [`GET /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#list-listings) | List listings | `listings:read` |
| [`POST /v1/listings`](https://www.syncseats.com/developers/docs/api-listings#create-listings) | Create listings | `listings:write` |
| [`POST /v1/listings/proof-of-purchase/uploads`](https://www.syncseats.com/developers/docs/api-listings#create-purchase-proof-uploads) | Get upload URLs for a proof of purchase | `listings:write` |
| [`GET /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#get-listing) | Get a listing | `listings:read` |
| [`PATCH /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#update-listing) | Change a listing | `listings:write` |
| [`DELETE /v1/listings/{id}`](https://www.syncseats.com/developers/docs/api-listings#delete-listing) | Delete a listing | `listings:write` |
| [`POST /v1/listings/{id}/publish`](https://www.syncseats.com/developers/docs/api-listings#publish-listing) | Put a listing on sale | `listings:write` |
| [`POST /v1/listings/{id}/unpublish`](https://www.syncseats.com/developers/docs/api-listings#unpublish-listing) | Take a listing off sale | `listings:write` |
| [`POST /v1/listings/{id}/marketplaces/{marketplace_id}/choice`](https://www.syncseats.com/developers/docs/api-listings#choose-marketplace-option) | Answer a marketplace’s choice | `listings:write` |
| [`GET /v1/sales`](https://www.syncseats.com/developers/docs/api-sales#list-sales) | List sales | `sales:read` |
| [`GET /v1/sales/{id}`](https://www.syncseats.com/developers/docs/api-sales#get-sale) | Get a sale | `sales:read` |
| [`POST /v1/sales/{id}/delivery/uploads`](https://www.syncseats.com/developers/docs/api-sales#create-delivery-uploads) | Get upload URLs for a delivery | `sales:write` |
| [`POST /v1/sales/{id}/delivery`](https://www.syncseats.com/developers/docs/api-sales#deliver-sale) | Deliver a sale | `sales:write` |
| [`GET /v1/charges`](https://www.syncseats.com/developers/docs/api-sales#list-charges) | List charges | `sales:read` |
| [`GET /v1/balance`](https://www.syncseats.com/developers/docs/api-payouts#get-balance) | Get the balance | `payouts:read` |
| [`GET /v1/payouts`](https://www.syncseats.com/developers/docs/api-payouts#list-payouts) | List payouts | `payouts:read` |
| [`GET /v1/payouts/{id}`](https://www.syncseats.com/developers/docs/api-payouts#get-payout) | Get a payout | `payouts:read` |
| [`GET /v1/payment-requests`](https://www.syncseats.com/developers/docs/api-payouts#list-payment-requests) | List payment requests | `payouts:read` |
| [`GET /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#list-inventory) | List the inventory | `inventory:read` |
| [`POST /v1/inventory`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-item) | Record a purchase | `inventory:write` |
| [`GET /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#get-inventory-item) | Get an inventory entry | `inventory:read` |
| [`PATCH /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-item) | Change an inventory entry | `inventory:write` |
| [`DELETE /v1/inventory/{id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-item) | Delete an inventory entry | `inventory:write` |
| [`POST /v1/inventory/{id}/sales`](https://www.syncseats.com/developers/docs/api-inventory#create-inventory-sale) | Record a sale outside SyncSeats | `inventory:write` |
| [`PATCH /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#update-inventory-sale) | Change a sale outside SyncSeats | `inventory:write` |
| [`DELETE /v1/inventory/{id}/sales/{sale_id}`](https://www.syncseats.com/developers/docs/api-inventory#delete-inventory-sale) | Delete a sale outside SyncSeats | `inventory:write` |
| [`POST /v1/sandbox/sales`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-create-sale) | Simulate a sale | `listings:write`, test keys only |
| [`POST /v1/sandbox/sales/{id}/advance`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-advance-sale) | Move a simulated sale on | `listings:write`, test keys only |
| [`POST /v1/sandbox/listings/{id}/require-choice`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-require-choice) | Make a marketplace wait for a choice | `listings:write`, test keys only |
| [`POST /v1/sandbox/reset`](https://www.syncseats.com/developers/docs/api-sandbox#sandbox-reset) | Reset the sandbox | `listings:write`, test keys only |

### Every error code

| Status | Code | What it means |
| --- | --- | --- |
| `400` | `invalid_request` | The request is not one the API understands: a parameter is missing or has the wrong form. |
| `400` | `invalid_json` | The body is not a JSON object. |
| `401` | `unauthorized` | No API key, or one that is unknown, revoked or expired. |
| `403` | `forbidden` | The key is valid, but this is not something it may do. |
| `403` | `insufficient_scope` | The key lacks the permission this endpoint needs. `details.required` names it. |
| `403` | `account_unavailable` | The account behind the key cannot use the API right now: it is not active, its setup is unfinished or two-factor authentication is off. |
| `403` | `api_not_enabled` | The Seller API is not switched on for this account yet. |
| `403` | `kyc_required` | Changing listings or delivering sales with a live key needs a verified identity on SyncSeats. |
| `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. |
| `404` | `route_not_found` | The API has no endpoint at this path. |
| `405` | `method_not_allowed` | The endpoint exists, but not for this HTTP method. |
| `409` | `conflict` | The request cannot be carried out in the state things are in. The message says why. |
| `409` | `listing_changed` | The listing is no longer at the version sent in `If-Match`, for example because tickets sold. Nothing was changed. `details.current_version` is the version now. |
| `409` | `listing_locked` | The listing is on a marketplace, where its section, row, ticket type and seats cannot change in place, apart from removing unsold seats or standing tickets. |
| `409` | `listing_busy` | The listing is being synced with a marketplace, or tickets are held for an order a marketplace has not confirmed yet. Try again shortly. |
| `409` | `listing_has_sales` | The listing has sales and stays on record. Take the rest off sale instead. |
| `409` | `seats_taken` | One or more of these seats are already listed for the event. |
| `409` | `sale_not_deliverable` | The sale takes no delivery: it is delivered, cancelled or failed. |
| `409` | `idempotency_in_progress` | A request with this Idempotency-Key is still running. |
| `409` | `sandbox_full` | The sandbox of this account is full. Reset it to go on. |
| `413` | `payload_too_large` | The body is larger than the API takes. |
| `415` | `unsupported_media_type` | A body has to be sent as application/json. |
| `422` | `validation_failed` | The request was understood, but its values are not accepted. `details.issues` lists each problem with its path. |
| `422` | `idempotency_key_reused` | This Idempotency-Key was used for a different request. |
| `428` | `precondition_required` | This change needs the `If-Match` header with the listing’s current version. |
| `429` | `rate_limited` | Too many requests. `Retry-After` says how many seconds to wait. |
| `500` | `internal_error` | Something went wrong on our side. The request id helps us find it. |
| `502` | `marketplace_error` | A marketplace did not take the change. Nothing was saved; the listing is as it was. |
| `503` | `service_unavailable` | A service the request needs did not answer, such as the file storage. Nothing was saved. `Retry-After` says when to try again. |
| `503` | `api_suspended` | The API is switched off for the moment. `Retry-After` says when to try again. |

### Limits

| Limit | Live | Test |
| --- | --- | --- |
| Requests per key, a minute | 300 | 120 |
| Requests per account, a minute, all its keys together | 600 | 240 |
| Requests that change something, per account, a minute | 30 | 60 |
| Requests that change something, per account, an hour | 600 | 1,200 |
| Changes that reach the marketplaces, all accounts on SyncSeats together, a minute | 120 | Not counted |
| Ticket groups in one `POST /v1/listings` | 50 | 50 |

### Limits of a delivery

| Limit | Live | Test |
| --- | --- | --- |
| Files in one delivery | 8 | 8 |
| Size of one file | 10 MB | 4 MB |
| Time an upload URL takes its file | 15 minutes | 15 minutes |
| Time an upload waits to be handed in | 24 hours | 24 hours |
| Links for the buyer | 20 | 20 |
| Characters of `buyer_note` | 300 | 300 |
| Characters of `note` | 500 | 500 |
| Requests to `POST /v1/sales/{id}/delivery/uploads`, per account, an hour | 120, together with the uploads of the dashboard | No limit of its own |
| Files given an upload URL, per account, an hour | No limit of its own | 120, together with the uploads of a proof of purchase |
| Files one upload URL takes in 10 minutes | No limit of its own | 10 |

### Limits of a proof of purchase

| Limit | Live | Test |
| --- | --- | --- |
| Files in one proof of purchase | 10 | 10 |
| Size of one file | 10 MB | 4 MB |
| Time an upload URL takes its file | 15 minutes | 15 minutes |
| Time an upload waits to go with new listings | 24 hours | 24 hours |
| Files given an upload URL, per account, an hour | 120 | 120, together with the uploads of deliveries |
| Files one upload URL takes in 10 minutes | No limit of its own | 10 |

### Limits of an inventory entry

| Limit | Live | Test |
| --- | --- | --- |
| Tickets in one entry | 10,000 | 10,000 |
| Seats in one entry | 500 | 500 |
| Sales one entry takes, cancelled ones included | 200 | 200 |
| Days of `purchase.date` and `sold_at` | `2000-01-01` to `2099-12-31` | `2000-01-01` to `2099-12-31` |
| Characters of `note` of an entry | 5,000 | 5,000 |
| Characters of `note` of a sale | 2,000 | 2,000 |
| Entries | No limit of its own | 500 |

### Event types

| Type | When it is sent | What `data.object` is | Also in `data` |
| --- | --- | --- | --- |
| `sale.created` | Tickets of one of your listings sold. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.recipient_updated` | The marketplace named the transfer recipient of a sale, or changed it. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.delivery_due` | A sale is still to deliver and its deadline is close. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) | `hours_left` |
| `sale.proof_submitted` | A proof of transfer was uploaded for a sale; it waits for confirmation. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.proof_reset` | Our team reset the proof of a sale; it has to be delivered again. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) | `reason` |
| `sale.delivered` | The delivery of a sale is confirmed. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.cancelled` | A sale was cancelled, with or without a charge. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `sale.payout_ready` | The marketplace paid for a sale; it can go into a payout. | [Sale](https://www.syncseats.com/developers/docs/api-sales#object-sale) |  |
| `payout.paid` | A payout was sent to your bank account. | [Payout](https://www.syncseats.com/developers/docs/api-payouts#object-payout) |  |
| `listing.created` | A listing was created and is on its way to its marketplaces. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) |  |
| `listing.live` | A listing went live on a marketplace. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) |  |
| `listing.updated` | A listing was changed. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) | `changes` |
| `listing.deleted` | A listing was taken off every marketplace and archived. | Deleted listing |  |
| `listing.marketplace_added` | SyncSeats added a new marketplace to your open listings. | A `marketplace_added` object |  |
| `listing.action_required` | A marketplace waits for a choice on a listing: a fan section, a category or how the seats sit together. | [Listing](https://www.syncseats.com/developers/docs/api-listings#object-listing) | `marketplace` |
| `report.weekly` | Your numbers of the last week. | A `weekly_report` object |  |
| `ping` | Sent from the developers page to check an endpoint. | A `ping` object |  |
