Resources / Comps

Comps

Free tickets with the usual email and QR codes, counted against the date's comps.

The object

guests array
Who gets them.
The comp object
{  "data": [    {      "id": 99120,      "code": "K7Q2",      "status": "paid",      "show_id": 4812,      "channel": "comp",      "paid_where": "free",      "buyer": {        "name": "Jordan Lee",        "email": "jordan@example.com",        "follows": true      },      "subtotal_cents": 4000,      "discount_cents": 500,      "tax_cents": 0,      "fees_cents": 650,      "total_cents": 0,      "refunded_cents": 0,      "discount_code": "SKETCH5",      "sold_through_api": true,      "paid_at": "2026-12-01T14:06:40-06:00",      "created_at": "2026-12-01T14:00:02-06:00",      "url": "https://cocoscout.com/tickets/orders/…",      "tickets": [        {          "code": "T9XK2M",          "status": "valid",          "ticket_type": {            "id": 912,            "name": "General"          },          "show_id": 4812,          "holder_name": "Jordan Lee",          "price_cents": 2000,          "url": "https://cocoscout.com/tickets/v/T9XK2M"        }      ]    }  ]}

Issue comps

POST /v1/comps Read-and-write key

One order per guest. All of them are issued, or none.

Body

show_id integer required
Which date.
guests array required
Each with name, email, ticket_type_id, and quantity.
email_tickets boolean
Email them (default true).
note string
For your records.
curl
curl -X POST https://api.cocoscout.com/v1/comps \  -H "Authorization: Bearer cs_live_…" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: $(uuidgen)" \  -d '{    "show_id": 4812,    "guests": [      {        "name": "Dana Ortiz",        "email": "dana@example.com",        "ticket_type_id": 912,        "quantity": 2      }    ]  }'