First-party app
Ticket Tailor

Ticket Tailor

Manage Ticket Tailor event series, ticket types, orders, holds, check-ins, discounts, vouchers, and issued tickets.

stable Commerce & Payments

About

Ticket Tailor ships in the w6w first-party pack. It declares 41 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.tickettailor
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Commerce & Payments

Overview

Ticket Tailor is an event ticketing platform: event series and their occurrences, ticket types and groups, orders, holds, check-ins, discount codes and vouchers, all reachable over one straightforward REST API.

This app covers the full lifecycle a box office automates: create and publish an event series, add occurrences and ticket types, reserve inventory with holds, issue tickets directly or read them off orders, check attendees in at the door, and run discount codes and vouchers. It also surfaces box-office-wide visibility — the overview endpoint’s revenue and ticket counts — so a workflow can report on a box office without a dashboard login.

Health checks track Ticket Tailor’s own status page (Check-in app, Checkout, Dashboard, API) alongside the connection’s own rate-limit headroom, which Ticket Tailor — unlike many vendors in this pack — actually exposes as a remaining count, not just a ceiling.

Build with Ticket Tailor

Three routes to the same 41 actions. The Workflow tab is generated from Ticket Tailor's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Create Check-in

check-in-create

Check a ticket in (or out) at the door.

List Check-ins

check-in-list

List ticket check-in/check-out events, paginated.

Create Discount

discount-create

Create a discount code redeemable at checkout.

Delete Discount

discount-delete

Permanently delete a discount. Irreversible.

Get Discount

discount-get

Fetch a single discount by ID.

List Discounts

discount-list

List discount codes, paginated.

Update Discount

discount-update

Update a discount's name, code, price, or expiry.

Get Event

event-get

Fetch a single event occurrence by its box-office-wide event ID.

List Events

event-list

List event occurrences across the whole box office, paginated.

Create Event Occurrence

event-occurrence-create

Add a new date/occurrence to an existing event series.

Get Event Occurrence

event-occurrence-get

Fetch a single event occurrence within an event series.

List Event Occurrences

event-occurrence-list

List the individual event occurrences (dates) belonging to an event series.

Create Event Series

event-series-create

Create a new event series (the container events/occurrences belong to).

Delete Event Series

event-series-delete

Permanently delete an event series and every event occurrence in it. Irreversible.

Get Event Series

event-series-get

Fetch a single event series by ID.

List Event Series

event-series-list

List event series belonging to the box office, paginated.

Change Event Series Status

event-series-status-update

Publish, unpublish (draft), or close sales on an event series.

Update Event Series

event-series-update

Update fields on an existing event series.

Create Hold

hold-create

Reserve a quantity of one ticket type against an event, without selling it.

Delete Hold

hold-delete

Permanently release a hold, returning its tickets to sale. Irreversible.

Get Hold

hold-get

Fetch a single hold by ID.

List Holds

hold-list

List ticket holds (reserved-but-not-sold inventory), paginated.

Update Hold

hold-update

Update a hold's note, or a ticket type's held quantity (0 removes it).

Create Issued Ticket

issued-ticket-create

Issue a ticket directly from a ticket type's inventory, or from an existing hold. Costs one credit per ticket, even if free; not usable for seated ticket types.

Get Issued Ticket

issued-ticket-get

Fetch a single issued ticket by ID.

List Issued Tickets

issued-ticket-list

List issued tickets, paginated.

Void Issued Ticket

issued-ticket-void

Void a single issued ticket. Does not cancel the order or refund it. Irreversible.

Confirm Order Payment Received

order-confirm-payment-received

Mark an offline-payment order's payment as received.

Get Order

order-get

Fetch a single order by ID.

List Orders

order-list

List orders belonging to the box office, paginated.

Get Box Office Overview

overview-get

Box office statistics: revenue, orders received, tickets issued, and event/series counts.

Ping

ping

Check that the Ticket Tailor API is responding. Does not require a credential.

Create Ticket Type

ticket-type-create

Add a new ticket type to an event series.

Delete Ticket Type

ticket-type-delete

Permanently delete a ticket type. Irreversible.

Update Ticket Type

ticket-type-update

Update an existing ticket type's fields.

List Voucher Codes

voucher-code-list

List the individual codes belonging to a voucher, paginated.

Void Voucher Code

voucher-code-void

Mark a single voucher code as voided. Irreversible.

Create Voucher

voucher-create

Create a voucher (promo code or gift card) and its voucher codes.

Delete Voucher

voucher-delete

Permanently delete a voucher and its voucher codes. Irreversible.

Get Voucher

voucher-get

Fetch a single voucher by ID.

List Vouchers

voucher-list

List vouchers (promo codes or gift cards), paginated.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Ticket Tailor's real ids.

{
  "manifestVersion": "2",
  "name": "tickettailor-example",
  "steps": [
    {
      "id": "check-in-create",
      "uses": {
        "app": "io.w6w.tickettailor",
        "action": "check-in-create",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "issuedTicketId": "<issuedTicketId>",
        "quantity": "<quantity>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create Check-in

    perform
    check-in-create
  • List Check-ins

    read
    check-in-list
  • Create Discount

    perform
    discount-create
  • Get Discount

    read
    discount-get
  • List Discounts

    read
    discount-list

+36 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Ticket Tailor, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Ticket Tailor. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "check-in-create",
  payload: {
    issuedTicketId: "<value>",
    quantity: "<value>",
    // checkInAt: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action check-in-create --payload '{"issuedTicketId":"<value>","quantity":"<value>"}'

Give an AI agent Ticket Tailor — without giving it Ticket Tailor's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.tickettailor#check-in-create",
    "input": {
      "issuedTicketId": "<issuedTicketId>",
      "quantity": "<quantity>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Ticket Tailor connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Ticket Tailor's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Ticket Tailor itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Ticket Tailor declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Ticket Tailor platform status

Component status from status.tickettailor.com: Check-in app, Checkout, Dashboard and API.

quota

Rate-limit headroom

Remaining requests in the current rate-limit window, read from the X-Rate-Limit-* response headers on GET /v1/overview.