Reference
Comps
Free tickets, one at a time or a guest list.
Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.
Give tickets away#
POST /v1/comps
Operation id createComp. MCP tool create_comp. SDK tickets.comps.create.
Gives tickets away: a paid-looking order of total 0, with a required reason the guest list is grouped by. Takes the same items as a hold, but not refund protection (a pass_through add-on): no money is paid, so nothing would be held for it. Comps do not need a payment and count as comps in reports.
Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has comps.write (owner, admin, staff).
Request body (CreateCompInput)
| Field | Type | Description |
|---|---|---|
event * | string | An id starting with evt_. |
items * | array of HoldItemInput | |
buyer * | object | Who the comp is for. A name is enough (the door finds them by name). An email sends the tickets by email. Only a phone number sends them by text, where texts are on and the org allows its country; if not, nothing goes a… |
attendees | array of AttendeeInput | |
reason * | string | Why ("Artist guest list", "Radio giveaway"). |
code | string | The partner code it is credited to (in reports; a comp never takes one of its uses). |
notify | boolean | |
metadata | object | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
at | string (date-time) | Test mode only (live answers test_mode_only): record this as having happened then, at most 730 days ago and never in the future. created_at, paid_at and the event log rows carry it, so reports bucket it there; a hold st… |
* required
{
"event": "evt_yrd2027",
"items": [
{
"ticket_type": "tt_ga_weekend",
"quantity": 2
}
],
"buyer": {
"name": "Pat Guest"
},
"reason": "Radio giveaway"
}Answers 201. The comp order (paid, total 0).
Fields (Order)
| Field | Type | Description |
|---|---|---|
object * | "order" | |
id * | string | An id starting with ord_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
number * | string | What people read out at the door or on the phone ("7KQ2-M9XD"). |
event * | string | An id starting with evt_. |
status * | OrderStatus | pending (waiting for its payment), paid, partially_refunded, refunded, cancelled, disputed. Moves by the order state machine. |
channel * | "api" | "checkout_link" | "door" | "dashboard" | "guest_list" | |
comp * | Comp | null | |
buyer * | Buyer | Who bought it. |
answers * | object | Answers to order-scope questions. |
items * | array of OrderItem | What the order holds now: a completed exchange changes these (price keeps the original breakdown). |
price * | object | The breakdown it was bought at. Exchanges price their own changes (exchanges). |
payments * | array of Payment | Every payment, oldest first: the order's own (or a gate sale's), then each exchange's top-up. Empty for a comp. |
refunds * | array of Refund | |
amount_paid * | object | The sum of succeeded payments. |
amount_refunded * | object | The sum of succeeded refunds, plus a lost dispute's amount (the money went back by chargeback). |
amount_refundable * | object | amount_paid − amount_refunded: the most a refund may be (refund_exceeds_remaining past it). |
pass_through_held | Money | Given only when more than 0: refund protection held now for someone else, inside amount_refundable. It reads every refund and a lost chargeback: don't work it out from the stamps, a chargeback isn't stamped. |
exchanges * | array of string | Completed exchanges, oldest first. |
dispute * | Dispute | null | |
code * | string | null | |
attribution * | Attribution | null | |
tracking_event_id * | string | The event_id our server-side Purchase uses: give it to your browser pixel so the two deduplicate. |
hold * | string | null | An id starting with hold_. |
checkout_link * | string | null | The hosted checkout link it came through. |
notify * | object | Whether our email and text go out for it. On a comp or a gate sale this only says what went when it was made, and comp.not_sent_why says why neither did: a change, a postponement or a cancellation still reaches them,… |
url * | string | null | The private page with all of the order's tickets (/t/:token); null for a read key or a viewer. |
tickets_status * | "pending" | "issued" | "none" | issued once its tickets exist (moments after it is paid); none for a cancelled or unpaid order. |
paid_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
cancelled_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
payment_end | "not_charged" | "not_confirmed" | "taken_after_end" | What is known of the money on an order that was cancelled while it was held by your own processor. not_charged: your processor can never take it. not_confirmed: a person cancelled it and nobody has confirmed the money y… |
mail_failed | object | Emails about this order that did not go, by kind, with when we gave up. confirmation is the buyer's tickets email: send it again with POST /v1/orders/{id}/resend, which takes this off. holder is a named holder's. Absent… |
mail_unsure | object | Emails about this order where we can't tell if it went, and it is too late to ask again safely. The same kinds. Absent when there are none. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
updated_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
metadata * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
tickets * | array of Ticket | Its tickets, once issued (tickets_status). |
* required
Errors of its own. event_not_on_sale, sold_out, quantity_unavailable, too_many_tickets, too_many_pools, code_invalid, test_mode_only, add_on_requires_ticket, ticket_type_unavailable. The errors every operation can answer are on the errors page.
A guest list: many comps at once#
POST /v1/comps/import
Operation id importComps. MCP tool import_comps. SDK tickets.comps.import.
A guest list: many comps at once from rows of name, email or phone, ticket type and quantity. dry_run: true checks each row and changes nothing. Without it the import runs as a background job (202).
Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has comps.write (owner, admin, staff).
Request body (ImportCompsInput)
| Field | Type | Description |
|---|---|---|
event * | string | An id starting with evt_. |
rows * | array of GuestListRow | The guest list (the dashboard turns the CSV into these). Each row becomes its own comp order. |
reason * | string | For rows without their own. |
notify | boolean | |
dry_run | boolean | Check every row and change nothing. |
* required
{
"event": "evt_yrd2027",
"rows": [
{
"name": "Pat Guest",
"ticket_type": "tt_ga_weekend",
"quantity": 1
}
],
"reason": "Guest list"
}Answers 200. dry_run: each row checked.
Fields (CompImportPreview)
| Field | Type | Description |
|---|---|---|
object * | "comp_import_preview" | |
rows * | array of object | |
orders * | integer | |
tickets * | integer |
* required
Answers 202. The import runs as a job.
Fields (Job)
| Field | Type | Description |
|---|---|---|
object * | "job" | |
id * | string | An id starting with job_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
kind * | "event_cancel" | "event_postpone" | "event_changed" | "comp_import" | "test_reset" | "code_batch" | "code_batch_off" | |
status * | "queued" | "running" | "succeeded" | "failed" | |
event * | string | null | An id starting with evt_. |
progress * | object | |
errors * | array of object | |
rows * | array | null | comp_import: every row's outcome, in row order, with the order it made (null for other kinds). |
result * | object | null | kind-specific totals once finished (orders refunded, comps made). A comp_import has comps_made, rows_failed, and who was made but not sent tickets: texts_not_sent (texts off, a country not allowed, or today's texts used… |
created_by * | Actor | Who made a change. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
finished_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
* required
Errors of its own. event_not_on_sale. The errors every operation can answer are on the errors page.