Skip to content

Reference

Holds

Reserve items for a short time and get the authoritative price breakdown.

View as Markdown

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.

List holds#

GET /v1/holds

Operation id listHolds. MCP tool list_holds. SDK tickets.holds.list.

Holds filtered by event or status (active, consumed, released, expired).

Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…
eventquerystringAn id starting with evt_.
statusquery"active" | "consumed" | "released" | "expired"active, consumed (became an order), released, expired.
created_gtequerystring (date-time)Only those created at or after this instant.
created_ltquerystring (date-time)Only those created before this instant.

Answers 200. A page of holds.

Fields

FieldTypeDescription
object *"list"
data *array of HoldThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id as starting_after.
url *"/v1/holds"The path this list came from (/v1/holds).

* required

Hold items and get the price#

POST /v1/holds

Operation id createHold. MCP tool create_hold. SDK tickets.holds.create.

Reserves items for a short time and answers the authoritative price: lines, discounts, fees, tax and total. Show exactly that to the buyer. The hold keeps the stock (and a limited code's use) until it expires (expires_at), is released or becomes an order. Pass attribution (UTM fields, referrer, click ids, the buyer's IP and user agent) to feed server-side conversion tracking. Only http and https addresses are kept (javascript:, data:, an android-app:// referrer are left out, the sale still goes through), a UTM value that is an email address or a phone number is dropped, a tracking_link that is not this organization's (or is another event's) is ignored, and with ad_consent: denied nothing that identifies the browser is stored: no IP, fbp, fbc, click ids, GA ids or user agent, and a page address keeps only its origin and path. Send client_ip even then: the per-network caps on open holds count a keyed hash of it, which ends with the hold, and the address itself is not kept. A marketing consent is a separate record: send the address it was given from as buyer.marketing.<channel>.ip on POST /v1/orders. Without that it falls back to the hold's client_ip, which is empty for a buyer who said no to ad tracking. Only a yes keeps an address; a no is kept as a refusal with no IP. First step of a checkout; the second is POST /v1/orders.

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 orders.write (owner, admin, staff); A door device that is allowed to sell, for its own event.

Request body (CreateHoldInput)

FieldTypeDescription
event *stringAn id starting with evt_.
items *array of HoldItemInput
codestringA promo or access code as typed; case does not matter.
emailstring (email)The buyer's email if your checkout has it: hold.expired carries it (abandoned-checkout follow-up).
attributionAttributionInputWhere the buyer came from, sent with the hold. The kit reads _fbp, _fbc, _ga and _ga_<id> for you.
duration_minutesinteger
replacesstringA hold from this same buyer's network, on this event, that this one takes the place of: what it holds doesn't stand in the way of the new one's share, and it is let go once the new one exists. Any other hold is ignored,…
metadataobjectYour 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.
atstring (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

JSON
{
  "event": "evt_yrd2027",
  "items": [
    {
      "ticket_type": "tt_ga_weekend",
      "quantity": 2
    },
    {
      "add_on": "add_parking",
      "quantity": 1
    }
  ],
  "code": "VISITDETROIT",
  "email": "jordan@example.com"
}

Answers 201. Held, with the price breakdown to show (a limited code's use is reserved with it). A selling door device holds for its own event: that is the gate sale's quote.

Fields (Hold)

FieldTypeDescription
object *"hold"
id *stringAn id starting with hold_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
status *HoldStatusactive, consumed (became an order), released, expired.
items *array of OrderItem
code *string | nullThe code applied. A code with max_uses has one use reserved for this hold while it is active.
price *PriceBreakdownThe authoritative price, computed by us. Show exactly this. Percentages round half up per line, to the minor unit.
email *string | null
attribution *Attribution | null
checkout_link *string | nullThe hosted checkout link it was made through; only that link may turn it into an order.
device *string | nullThe door device that made it (a gate sale); only a door sale may consume it.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
extended *boolean
order *string | nullThe order it became.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
released_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expired_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
consumed_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour 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.

* required

Errors of its own. device_token_invalid, device_sales_not_allowed, event_not_on_sale, sold_out, quantity_unavailable, sale_not_started, sale_ended, ticket_type_unavailable, order_minimum_not_met, order_maximum_exceeded, add_on_requires_ticket, too_many_tickets, too_many_pools, code_invalid, code_not_started, code_expired, code_exhausted, code_not_applicable, test_mode_only. The errors every operation can answer are on the errors page.

Retrieve a hold#

GET /v1/holds/{id}

Operation id getHold. MCP tool get_hold. SDK tickets.holds.retrieve.

One hold with its price breakdown, its status and when it expires. A selling door device can read its own.

Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).

ParameterInTypeDescription
id *pathstringAn id starting with hold_.

Answers 200. The hold.

Fields (Hold)

FieldTypeDescription
object *"hold"
id *stringAn id starting with hold_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
status *HoldStatusactive, consumed (became an order), released, expired.
items *array of OrderItem
code *string | nullThe code applied. A code with max_uses has one use reserved for this hold while it is active.
price *PriceBreakdownThe authoritative price, computed by us. Show exactly this. Percentages round half up per line, to the minor unit.
email *string | null
attribution *Attribution | null
checkout_link *string | nullThe hosted checkout link it was made through; only that link may turn it into an order.
device *string | nullThe door device that made it (a gate sale); only a door sale may consume it.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
extended *boolean
order *string | nullThe order it became.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
released_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expired_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
consumed_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour 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.

* required

Set an active hold's email or metadata#

PATCH /v1/holds/{id}

Operation id updateHold. MCP tool update_hold. SDK tickets.holds.update.

Sets an active hold's buyer email or metadata. Its items, code and price never change: release it and make a new hold for that.

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 orders.write (owner, admin, staff).

ParameterInTypeDescription
id *pathstringAn id starting with hold_.

Request body (UpdateHoldInput)

FieldTypeDescription
emailstring | nullThe buyer's email, once your checkout has it (null clears it): hold.expired carries it for an abandoned-checkout follow-up.
metadataobjectYour 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.
JSON
{
  "email": "jordan@example.com"
}

Answers 200. Updated (hold.updated); its items, code and price are as they were.

Fields (Hold)

FieldTypeDescription
object *"hold"
id *stringAn id starting with hold_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
status *HoldStatusactive, consumed (became an order), released, expired.
items *array of OrderItem
code *string | nullThe code applied. A code with max_uses has one use reserved for this hold while it is active.
price *PriceBreakdownThe authoritative price, computed by us. Show exactly this. Percentages round half up per line, to the minor unit.
email *string | null
attribution *Attribution | null
checkout_link *string | nullThe hosted checkout link it was made through; only that link may turn it into an order.
device *string | nullThe door device that made it (a gate sale); only a door sale may consume it.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
extended *boolean
order *string | nullThe order it became.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
released_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expired_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
consumed_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour 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.

* required

Errors of its own. hold_expired, hold_released, hold_consumed. The errors every operation can answer are on the errors page.

Release a hold#

DELETE /v1/holds/{id}

Operation id releaseHold. MCP tool release_hold. SDK tickets.holds.release.

Gives the held items, and a code's reserved use, back at once. Do it when a buyer abandons checkout rather than waiting for expiry.

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 orders.write (owner, admin, staff); A door device that is allowed to sell, for its own event.

ParameterInTypeDescription
id *pathstringAn id starting with hold_.

Answers 200. Released; its items and its code use are back.

Fields (Hold)

FieldTypeDescription
object *"hold"
id *stringAn id starting with hold_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
status *HoldStatusactive, consumed (became an order), released, expired.
items *array of OrderItem
code *string | nullThe code applied. A code with max_uses has one use reserved for this hold while it is active.
price *PriceBreakdownThe authoritative price, computed by us. Show exactly this. Percentages round half up per line, to the minor unit.
email *string | null
attribution *Attribution | null
checkout_link *string | nullThe hosted checkout link it was made through; only that link may turn it into an order.
device *string | nullThe door device that made it (a gate sale); only a door sale may consume it.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
extended *boolean
order *string | nullThe order it became.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
released_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expired_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
consumed_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour 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.

* required

Errors of its own. device_token_invalid, device_sales_not_allowed, hold_consumed, hold_expired. The errors every operation can answer are on the errors page.

Extend a hold once#

POST /v1/holds/{id}/extend

Operation id extendHold. MCP tool extend_hold. SDK tickets.holds.extend.

Gives an active hold more time. A hold can be extended once (hold_extension_used).

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 orders.write (owner, admin, staff).

ParameterInTypeDescription
id *pathstringAn id starting with hold_.

Request body (ExtendHoldInput)

FieldTypeDescription
minutesintegerThe hold then expires this long from now, or when it already would if that is later: an extend never shortens a hold. Once per hold.
JSON
{
  "minutes": 5
}

Answers 200. Extended.

Fields (Hold)

FieldTypeDescription
object *"hold"
id *stringAn id starting with hold_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
status *HoldStatusactive, consumed (became an order), released, expired.
items *array of OrderItem
code *string | nullThe code applied. A code with max_uses has one use reserved for this hold while it is active.
price *PriceBreakdownThe authoritative price, computed by us. Show exactly this. Percentages round half up per line, to the minor unit.
email *string | null
attribution *Attribution | null
checkout_link *string | nullThe hosted checkout link it was made through; only that link may turn it into an order.
device *string | nullThe door device that made it (a gate sale); only a door sale may consume it.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
extended *boolean
order *string | nullThe order it became.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
released_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expired_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
consumed_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour 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.

* required

Errors of its own. hold_extension_used, hold_expired, hold_released, hold_consumed. The errors every operation can answer are on the errors page.

See which networks hold the most of an event#

GET /v1/events/{id}/hold_networks

Operation id listHoldNetworks. MCP tool list_hold_networks. SDK tickets.holds.networks.

Says which networks hold the most of an event right now, most first, by a keyed hash: never an address. For an organizer who thinks a sale is under attack. A venue's wifi or a carrier can look the same, so read it before you stop one.

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 org.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with evt_.

Answers 200. The networks holding the most, hashed.

Fields (HoldNetworks)

FieldTypeDescription
object *"hold_networks"
event *stringAn id starting with evt_.
as_of *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
networks *array of objectThe networks holding the most, most first, at most 50. A real venue's wifi or a carrier can look like this too: read it before you stop one.

* required

Let go of one network's open holds, and stop it for a while#

POST /v1/events/{id}/hold_networks/release

Operation id releaseNetworkHolds. MCP tool release_network_holds. SDK tickets.holds.releaseNetwork.

Lets go of one network's open holds on an event and gives it only "busy" there for a while, so it can't simply hold again. Takes a dry_run, leaves an audit row, and never touches an order.

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 org.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with evt_.

Request body (ReleaseNetworkHoldsInput)

FieldTypeDescription
network *stringOne network on one org: a keyed hash of its address, never the address. The same address reads the same across this org's events.
block_minutesintegerHow long this network gets only "busy" on this event, so it can't simply hold again. 0 lifts a block and stops none.
dry_runbooleanSay what would happen and change nothing.

* required

JSON
{
  "network": "net_0123456789abcdef",
  "block_minutes": 60,
  "dry_run": true
}

Answers 200. What became of them. Paid orders are never touched.

Fields (NetworkHoldsReleased)

FieldTypeDescription
object *"network_holds_released"
event *stringAn id starting with evt_.
network *stringOne network on one org: a keyed hash of its address, never the address. The same address reads the same across this org's events.
dry_run *boolean
open_holds *integerIts open holds when this was asked.
tickets *integer
released *integerLet go now. None on a dry run.
left_alone *integerAlready paid for, or with a payment running on a hosted link: a sale is never undone by this.
failed *integerCould not be let go right now, so ask again. They run out by themselves.
blocked_until *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required