Reference
Holder pages
What our own ticket, My tickets and transfer pages call. Not for your server.
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.
The org's face before sign-in (My tickets' frame)#
GET /v1/holder/org
Operation id getHolderOrg.
The org's name, branding and support contact before anyone signs in, so My tickets can wear the org's look. For our hosted pages, not your server.
Who may call it. Anyone: no key or sign-in is needed.
| Parameter | In | Type | Description |
|---|---|---|---|
org * | query | string | An id starting with org_. |
mode * | query | "test" | "live" | From the link My tickets was opened from, like the org. |
Answers 200. Its name, branding, support contact and whether texts sign in.
Fields (OrgFace)
| Field | Type | Description |
|---|---|---|
id * | string | An id starting with org_. |
name * | string | |
branding * | Branding | What holders see: shown on ticket pages, My tickets, transfers, emails and Wallet passes. |
support_email * | string | null | Where holders write with questions: shown on ticket pages, My tickets, the hosted checkout and every email footer, and the Reply-To of our emails. null: Reply-To is the first owner's member email and pages say "Reply to… |
support_phone * | string | null | A phone holders may call (E.164), shown beside support_email; null: none shown. |
sms_sign_in_enabled * | boolean | My tickets may sign in by a code to a phone (the org's settings.sms_sign_in_enabled): when false the sign-in page offers email only. |
* required
The ticket page's data (/t/:token) or My tickets#
GET /v1/holder/view
Operation id getHolderView.
The ticket page's data: for a private link (Holder-Token header) the order's or ticket's page, for a My tickets session every ticket that person holds. For our hosted pages, not your server.
Who may call it. A ticket holder with a private ticket link (Holder-Token header) or a My tickets session.
Answers 200. The tickets.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. holder_link_invalid, holder_session_required, holder_link_replaced. The errors every operation can answer are on the errors page.
My tickets: send a code#
POST /v1/holder/sign_in
Operation id holderSignIn.
My tickets: emails or texts a 6-digit code to an address or phone that holds tickets. The answer is the same whether or not it holds any. For our hosted pages.
Who may call it. Anyone: no key or sign-in is needed.
Request body (HolderSignInInput)
| Field | Type | Description |
|---|---|---|
org * | string | An id starting with org_. |
mode * | "test" | "live" | From the link My tickets was opened from, like the org. |
email | string (email) | An email address. |
phone | string | A phone number in E.164, e.g. +13135550123. |
* required
{
"org": "org_yrd",
"mode": "test",
"phone": "+13135550123"
}Answers 202. Sent.
Fields (HolderSignInStarted)
| Field | Type | Description |
|---|---|---|
object * | "holder_sign_in" | |
channel * | "email" | "sms" | |
sent_to * | string | Masked: "J•••@gmail.com", "•••• 0123". |
expires_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
* required
Errors of its own. feature_disabled, sms_cap_reached, sms_country_not_allowed, too_many_attempts. The errors every operation can answer are on the errors page.
My tickets with no link: email me a link to my tickets#
POST /v1/holder/find_tickets
Operation id holderFindTickets.
For a person with no ticket link and no organizer: emails an address that holds tickets a My tickets link for each organizer. The answer is the same whether or not it holds any. For our hosted pages.
Who may call it. Anyone: no key or sign-in is needed.
Request body (HolderFindInput)
| Field | Type | Description |
|---|---|---|
email * | string (email) | An email address. |
* required
{
"email": "teddy+holder@roostertail.com"
}Answers 202. Taken.
Fields (HolderFindAnswer)
| Field | Type | Description |
|---|---|---|
object * | "holder_find" |
* required
My tickets: check the code#
POST /v1/holder/sign_in/verify
Operation id holderVerify.
My tickets: trades the code for a 30-day session on that device. For our hosted pages.
Who may call it. Anyone: no key or sign-in is needed.
Request body (HolderVerifyInput)
| Field | Type | Description |
|---|---|---|
org * | string | An id starting with org_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
email | string (email) | An email address. |
phone | string | A phone number in E.164, e.g. +13135550123. |
code * | string |
* required
{
"org": "org_yrd",
"mode": "test",
"phone": "+13135550123",
"code": "654321"
}Answers 200. Signed in; the cookie is set.
Fields (HolderSession)
| Field | Type | Description |
|---|---|---|
object * | "holder_session" | |
org * | string | An id starting with org_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
signed_in_as * | string | Masked. |
expires_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
* required
Errors of its own. sign_in_code_invalid, too_many_attempts. The errors every operation can answer are on the errors page.
My tickets: sign out#
POST /v1/holder/sign_out
Operation id holderSignOut.
My tickets: signs out this device, or every device with everywhere. For our hosted pages.
Who may call it. A ticket holder with a My tickets session.
Request body (HolderSignOutInput)
| Field | Type | Description |
|---|---|---|
everywhere | boolean | Sign out every device. |
{
"everywhere": true
}Answers 204. Signed out.
Errors of its own. holder_session_required. The errors every operation can answer are on the errors page.
Send my ticket to someone#
POST /v1/holder/tickets/{id}/transfers
Operation id holderCreateTransfer.
A holder sends their own ticket to someone, from our page. For our hosted pages, not your server (use POST /v1/transfers).
Who may call it. A ticket holder with a private ticket link (Holder-Token header) or a My tickets session.
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with tkt_. |
Request body (HolderTransferInput)
| Field | Type | Description |
|---|---|---|
to * | object | |
message | string |
* required
{
"to": {
"phone": "+13135550199",
"name": "Casey"
}
}Answers 201. The page again, the transfer pending.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. holder_link_invalid, holder_session_required, ticket_no_longer_held, transfers_not_allowed, transfer_cutoff_passed, transfer_limit_reached, transfer_pending, ticket_checked_in, ticket_void, ticket_frozen, refund_pending, transfer_on_hold, sms_cap_reached, sms_country_not_allowed, feature_disabled, holder_link_replaced. The errors every operation can answer are on the errors page.
Take back a pending transfer#
POST /v1/holder/transfers/{id}/cancel
Operation id holderCancelTransfer.
A holder takes back their own pending transfer from our page. For our hosted pages, not your server.
Who may call it. A ticket holder with a private ticket link (Holder-Token header) or a My tickets session.
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with trf_. |
Answers 200. The page again.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. holder_link_invalid, holder_session_required, ticket_no_longer_held, invalid_state_transition. The errors every operation can answer are on the errors page.
After a postponement: my money back#
POST /v1/holder/orders/{id}/refund
Operation id holderRequestRefund.
After a postponement, a holder asks for their money back from our page, for the tickets they name. For our hosted pages.
Who may call it. A ticket holder with a private ticket link (Holder-Token header) or a My tickets session.
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with ord_. |
Request body (HolderRefundInput)
| Field | Type | Description |
|---|---|---|
tickets | array of string | Default: every ticket of the order this link or session may refund (held, valid, never transferred). |
reason | string |
{
"tickets": [
"tkt_ga001"
],
"reason": "Can't make the new date"
}Answers 200. Refunded; the page shows the tickets void.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. holder_link_invalid, holder_session_required, ticket_no_longer_held, refund_window_closed, order_not_refundable, order_disputed, payment_failed, holder_link_replaced. The errors every operation can answer are on the errors page.
Where my ticket can move to (another day, same price)#
GET /v1/holder/tickets/{id}/swap
Operation id holderSwapOptions.
Where a holder may move their own ticket: the other days still to come, at the same price, and whether each has room. For our hosted pages; nothing is held or changed by reading it.
Who may call it. A ticket holder with a private ticket link (Holder-Token header) or a My tickets session.
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with tkt_. |
Answers 200. The other days with room, or none.
Fields (HolderSwapOptions)
| Field | Type | Description |
|---|---|---|
object * | "holder_swap_options" | |
ticket * | string | An id starting with tkt_. |
version * | integer | The ticket's version now: send it back with the swap. |
current * | object | |
swaps_left * | integer | |
cutoff_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
options * | array of object | Ticket types at the same price on other days that are still to come. Same price means the two types are even: the same base, the same fee rules, the same tax. The ticket keeps exactly the cents it carries, so money neve… |
not_offered * | array of object | Why days the holder might look for are not listed, one row per reason in plain words. |
told * | "email" | "text" | "none" | How the holder will hear of a swap: what the listener will send. none: nothing goes, so the page must say to keep the link. |
refundable_until * | string | null | This ticket can be refunded until then because its day moved; a swap gives that up. Null when no such window is open for this holder. |
help * | string | The sentence that says how this holder reaches the organizer (a transferred holder has no order email to reply to). |
* required
Errors of its own. holder_link_invalid, holder_session_required, ticket_no_longer_held, refund_pending, transfer_on_hold, swap_not_allowed, swap_cutoff_passed, swap_limit_reached, swap_bundle, transfer_pending, ticket_checked_in, ticket_void, ticket_frozen, order_disputed, holder_link_replaced. The errors every operation can answer are on the errors page.
Move my ticket to another day (same price, the exchange path)#
POST /v1/holder/tickets/{id}/swap
Operation id holderSwap.
A holder moves their own ticket to another day at the same price, from our page. It is an exchange made for them (the old code stops, the new one works, the Wallet pass updates, an email says what changed) and no money moves. Off unless the event turns it on. For our hosted pages.
Who may call it. A ticket holder with a private ticket link (Holder-Token header) or a My tickets session.
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with tkt_. |
Request body (HolderSwapInput)
| Field | Type | Description |
|---|---|---|
ticket_type * | string | The type to move to (one of HolderSwapOptions.options). |
version * | integer | The ticket's version on the page that asked: a page that is out of date is refused (swap_ticket_changed) instead of acting on what the holder did not see. |
* required
{
"ticket_type": "tt_ga_sat",
"version": 1
}Answers 200. The page again: the ticket is the new type, its version up, its old code refused.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. holder_link_invalid, holder_session_required, ticket_no_longer_held, refund_pending, transfer_on_hold, swap_not_allowed, swap_cutoff_passed, swap_limit_reached, swap_not_same_price, swap_day_full, swap_ticket_changed, swap_bundle, transfer_pending, ticket_checked_in, ticket_void, ticket_frozen, order_disputed, order_not_refundable, invalid_state_transition, holder_link_replaced. The errors every operation can answer are on the errors page.
Add to Apple Wallet (a self-authorizing link: ticket.wallet.apple_url)#
GET /v1/holder/wallet/{token}/apple.pkpass
Operation id getApplePass.
The signed .pkpass for the ticket the link belongs to (its current version). The link is the credential: it is the wallet.apple_url on a ticket.
Who may call it. Whoever holds the token in the path (an Add to Wallet link).
| Parameter | In | Type | Description |
|---|---|---|---|
token * | path | string | A self-authorizing Add to Wallet token: RTW1.<payload>.<signature>. |
Answers 200. The signed .pkpass for the token's ticket version (its serial is the ticket's current pass serial).
The body is application/vnd.apple.pkpass.
Errors of its own. wallet_link_expired, ticket_void, ticket_frozen, feature_disabled. The errors every operation can answer are on the errors page.
Save to Google Wallet (a self-authorizing link: ticket.wallet.google_url)#
GET /v1/holder/wallet/{token}/google
Operation id getGoogleWalletSave.
Save to Google Wallet. A browser is sent to Google's save page (302). With Accept: application/json the same URL comes back as JSON, for a page that draws its own button.
Who may call it. Whoever holds the token in the path (an Add to Wallet link).
| Parameter | In | Type | Description |
|---|---|---|---|
token * | path | string | A self-authorizing Add to Wallet token: RTW1.<payload>.<signature>. |
Answers 200. With Accept: application/json: the same save URL, for a page that draws Google's own button.
Fields (GoogleWalletSave)
| Field | Type | Description |
|---|---|---|
object * | "google_wallet_save" | |
url * | string | Google's save page for this version's object (a JWT signed by our Google service account). |
object_id * | string | The EventTicketObject id ({issuer_id}.{random}), one per ticket version. |
* required
Answers 302. A browser (no Accept: application/json): to Google's save page for the object of the token's ticket version (made on first use).
Errors of its own. wallet_link_expired, ticket_void, ticket_frozen, feature_disabled. The errors every operation can answer are on the errors page.
What the accept page (/x) shows#
GET /v1/holder/transfer_offer
Operation id getTransferOffer.
What an accept-a-transfer page shows about an offer. The offer link's token, in the Holder-Token header, is the credential.
Who may call it. A ticket holder with a transfer offer link (its token in the Holder-Token header).
Answers 200. The offer.
Fields (TransferOffer)
| Field | Type | Description |
|---|---|---|
object * | "transfer_offer" | |
mode * | "test" | "live" | The mode the ticket is in: a test offer says so. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | The parts of an event a holder sees. |
ticket_name * | string | |
valid_days * | array of string | The days the ticket is good for ("Good for all three days"). |
design * | object | The ticket's look (its art, logo and colours), so the offer shows the ticket as it will be. No QR. |
from_name * | string | null | The sender's first name and last initial. |
to_masked * | string | null | Where the offer was sent, masked ("c•••@gmail.com", "•••• 0199"), so the recipient knows it was meant for them. |
message * | string | null | |
status * | TransferStatus | pending (until the recipient accepts), accepted, cancelled, expired (at the event's transfer cutoff). |
expires_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. holder_link_invalid. The errors every operation can answer are on the errors page.
Accept a ticket sent to me#
POST /v1/holder/transfer_offer/accept
Operation id acceptTransferOffer.
The recipient accepts a ticket sent to them and gets a new private page link. The offer link's token, in the Holder-Token header, is the credential.
Who may call it. A ticket holder with a transfer offer link (its token in the Holder-Token header).
Request body (AcceptTransferInput)
| Field | Type | Description |
|---|---|---|
name * | string | A person's name as they write it. |
email | string (email) | An email address. |
phone | string | A phone number in E.164, e.g. +13135550123. |
* required
{
"name": "Casey Friend"
}Answers 200. The ticket is yours: the page, with its new link.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. holder_link_invalid, invalid_state_transition, transfer_cutoff_passed, ticket_void, ticket_frozen, transfer_on_hold, ticket_checked_in, transfer_limit_reached, transfers_not_allowed. The errors every operation can answer are on the errors page.