Powered by Smartsupp
BOX OFFICE OPEN5% PER TICKET SOLD NOTHING ELSEFREE EVENTS ARE FREEWHITE-LABEL BY DEFAULTREST API · 5 SDKS · MCP SERVERPAYOUTS IN USD · NGN · ZAR
zatabox

Agents

Your box office, as tools.

A first-party MCP server that exposes every public REST operation as a tool so an agent can sell, scan and reconcile with an audit trail behind every move.

What it is#

If your agent speaks the Model Context Protocol, it already speaks Zatabox. The server is first-party and sits directly on the REST API documented here: every public operation is exposed as a tool, with the same scopes, the same rate limits and the same idempotency guarantees plus an audit layer built for the awkward question of who did what.

Connect#

Two transports stdio and streamable HTTP plus a Dockerfile, so the same server runs hosted, local while developing, or self-hosted behind your own network rules.

{
"mcpServers": {
"zatabox": {
"url": "https://mcp.zatabox.com",
"auth": "oauth"
}
}
}

Auth & scopes#

  • MCP tokens are prefixed vt_mcp_ and use the same scope grammar as API keys events:read, orders:write, checkin:write and the rest. * remains admin-only.
  • A tool needs the same scope as the REST endpoint it wraps: event_publish wants events:write, checkin_scan wants checkin:write, and so on.
  • 60 tool calls per minute per token, by default.

Calling a tool#

Arguments are plain JSON Schema what you'd send the REST endpoint, minus the URL. Results come back as pretty-printed JSON in the tool's text content, and errors arrive as the same CODE: message strings the REST API uses, so an agent can branch on TICKET_SOLD_OUT the way your code would.

// tools/call request arguments are plain JSON Schema inputs
{
"name": "order_create",
"arguments": {
"items": [{ "ticketTypeId": "tkt_8f2k", "quantity": 2 }],
"guestEmail": "[email protected]",
"guestName": "Alice Johnson"
}
}

Tool catalog#

44 tools, named noun-first so they sort the way you think. Expand any row for its arguments req marks the ones the tool must receive, READ tools only fetch, and WRITE tools change state every write is audited and idempotency-keyed automatically.

Discovery & purchase

READdiscover_eventsSearch the public catalog with buyer intent the canonical first call for “find me something fun this Friday”.

Returns event cards with id, slug, dates, venue and lowest ticket price. Identical backend to event_list.

FieldDescription
qFree-text search across title and description.
categorymusic, sports, business, arts, food, tech, community or other.
cityCase-insensitive contains match on venue city.
dateFromISO 8601 window start.
dateToISO 8601 window end.
priceMaxCeiling on the lowest ticket price.
READevent_searchFree-text search the fastest path from a phrase (“the jazz night in Lagos”) to an event id and slug.

Same backend as event_list switch to event_list when you need dates, price or pagination filters.

FieldDescription
qreqFree-text search across title and description.
categoryOptional category narrow.
cityOptional city narrow.
WRITEorder_createCreate an order for one or more ticket types guest checkout needs only a name and email.

Inventory is checked atomically on TICKET_SOLD_OUT, re-run ticket_type_list for an alternative or fall back to waitlist_join. The response includes accessToken for the guest order.

FieldDescription
itemsreqLine items one entry per ticket type.
items[].ticketTypeIdreqThe ticket type to buy.
items[].quantityreqHow many, within the type’s purchase caps.
guestEmailGuest checkout where tickets and the receipt go.
guestNameName on the order.
promoCodeApplied before totals.
WRITEorder_payInitiate payment on a pending order and get the provider’s checkout material.

nowpayments returns the generated deposit details (payAddress, payAmount, network, memo); the redirect providers return an authorizationUrl. The agent cannot complete payment itself hand the details to the human, then confirm with order_verify_payment. Free orders error with NOTHING_TO_PAY (tickets were issued at creation); paid orders with ALREADY_PAID.

FieldDescription
idreqOrder id from order_create.
providernowpayments (crypto, default), paystack or flutterwave.
tokenThe order’s accessToken when acting for a guest checkout.
WRITEorder_verify_paymentConfirm the charge server-side after the human has paid issues tickets, no webhook needed.

Idempotent and poll-safe re-call every few seconds until the order status is completed.

FieldDescription
idreqOrder id.
tokenSame guest token used for order_pay, if applicable.
READorder_getCurrent state of an order by id.
FieldDescription
idreqOrder id.
WRITEorder_cancelCancel an order that has not been paid releases held inventory.

Completed orders cannot be cancelled use refund_request instead.

FieldDescription
idreqOrder id.

Events

READevent_listList the public catalog with the full filter set dates, price, country, pagination.
FieldDescription
qFree-text search.
categorymusic, sports, business, arts, food, tech, community or other.
cityContains match on venue city.
countryISO 3166-1 alpha-2.
venueContains match on venue name.
dateFrom / dateToISO 8601 window.
priceMaxLowest-price ceiling.
cursorOpaque cursor from the previous page.
limit1–50, default 20.
READevent_getFull event detail by slug ticket types, schedule and organizer info included.

Private events resolve too when the MCP token belongs to the event’s organization other callers get EVENT_NOT_FOUND.

FieldDescription
slugreqEvent slug from list results.
WRITEevent_createCreate a draft event under the organizer’s active organization.

Lands in draft status add ticket types, then event_publish to go on sale. Returns the server-assigned id and slug.

FieldDescription
titlereqEvent title.
categoryreqmusic, sports, business, arts, food, tech, community or other.
startDatereqISO 8601, in the future.
endDatereqISO 8601, after startDate.
timezonereqIANA timezone, e.g. America/New_York.
venueTypereqphysical, online or hybrid.
capacityreqTotal capacity.
descriptionLong-form description.
shortDescUp to 280 characters.
venueName / venueAddress / venueCityPhysical venue fields.
venueCountryISO 3166-1 alpha-2.
onlineLinkStream link for online / hybrid.
coverImageCover image URL.
WRITEevent_updatePartial update send only the fields to change; omitted fields keep their value.

Major changes to a published event (date, venue) notify ticket holders.

FieldDescription
idreqEvent id from event_create.
…any create fieldAll event_create fields are accepted, each optional.
WRITEevent_publishTransition draft → published so the event goes on sale.

Fails if required fields are missing or the event has no ticket types.

FieldDescription
idreqEvent id.
WRITEevent_cancelCancel an event destructive; issued tickets become refund-eligible.

Only call when the user explicitly asks to cancel.

FieldDescription
idreqEvent id.
reasonreqAt least 10 characters quoted in refund notifications to holders.
READevent_customization_getThe event page’s theme, layout, colors, CTA, section toggles, FAQs and SEO fields.

Returns both the saved customization and platform defaults, so effective values are visible.

FieldDescription
eventIdreqEvent id.
WRITEevent_customization_setRestyle the public event page “make it match my brand”, “add an FAQ”, “change the buy button”.

Partial update send only the fields to change.

FieldDescription
eventIdreqEvent id.
layoutPatternclassic, split, gallery, minimal, magazine or festival.
heroStyleimage, video, gradient, pattern or solid.
primaryColor … textColorprimaryColor, secondaryColor, accentColor, backgroundColor, textColor.
ctaLabelBuy-button label, up to 80 characters.
showOrganizer … showSocialShareVisibility toggles: organizer, schedule, venue map, countdown, social share.
faqsUp to 40 { question, answer } pairs.
seoTitle / seoDescription / seoImageSearch and share metadata.

Ticket types & tickets

READticket_type_listTicket types for an event name, price, currency, availability and sale window.
FieldDescription
eventIdreqEvent id.
WRITEticket_type_createAdd a ticket type the simplest path is “General Admission, $X, 100 quantity”.

Free tickets must have price=0 AND type=free.

FieldDescription
eventIdreqThe event to attach to.
namereqe.g. “General Admission”.
typereqgeneral, reserved, vip, early_bird, group, free, multi_day, season, at_door or upgrade.
pricereqUnit price excluding fees the platform fee is computed at checkout.
currencyreqISO 4217, e.g. USD, NGN.
quantityTotalreq-1 for unlimited.
saleStart / saleEndreqSale window; defaults to “now → event end” when omitted.
refundableDefault false.
transferableDefault true.
WRITEticket_type_updatePartial update raise the price, extend the window, add quantity.

Quantity cannot drop below the number already sold; price changes never affect issued tickets.

FieldDescription
eventIdreqEvent id.
ticketTypeIdreqThe type to change.
…any create fieldAll ticket_type_create fields, each optional.
WRITEticket_transferSend a ticket to someone else they claim it from an emailed link.

The ticket only changes hands on claim; the initiator can revoke for 24h until then. Fails on non-transferable types.

FieldDescription
ticketIdreqThe ticket to transfer.
toEmailreqRecipient receives the claim link.
toNameRecipient name.
fromEmailCurrent holder’s email required when not authenticated as the holder (passwordless proof).
WRITEticket_mint_compMint complimentary tickets for speakers, press, VIPs or staff each recipient gets a real ticket by email.
FieldDescription
eventIdreqEvent id.
ticketTypeIdreqThe type to mint from comps draw down its remaining quantity.
recipientsreqList of { name, email } entries.
noteInternal note on the batch, e.g. “press list”.

Check-in

WRITEcheckin_scanValidate a ticket QR or short code at the gate.

Denials are data, not errors: status comes back success or denied_duplicate / denied_cancelled / denied_expired / denied_wrong_event.

FieldDescription
qrDatareqThe HMAC-signed QR payload or a typed 6-character door code through the same field.
eventIdreqThe event being scanned.
gateNameWhich gate, for per-gate stats.
deviceIdScanner identifier.
READcheckin_statsLive totals “how many people are in?” capacity %, entry rate, per-gate breakdown.
FieldDescription
eventIdreqEvent id.
gateNameFilter to one gate.
READcheckin_exportThe full attendee / check-in manifest as CSV door lists and post-event reconciliation.

Returns raw CSV text (name, email, ticket type, code, checked-in time, gate) save it to a file or paste it for the user.

FieldDescription
eventIdreqEvent id.

Growth & CRM

READattendee_listTicket holders for an event name, email, type, code, check-in status.

The source of ticketIds for attendee_tag. For a CSV download use checkin_export.

FieldDescription
eventIdreqEvent id.
cursorOpaque pagination cursor.
WRITEattendee_tagTag a set of tickets “vip”, “press”, “no-show” to power segments.

Additive existing tags stay. Tags drive attendee_broadcast’s tagFilter.

FieldDescription
orgIdreqOrganization id.
ticketIdsreqTickets to tag, from attendee_list.
tagreqShort label, e.g. “vip”.
WRITEattendee_broadcastEmail an event’s attendees, optionally narrowed to a tag.

Sends real email to real people agents should show the final subject and body and get explicit confirmation before calling. Returns the recipient count.

FieldDescription
eventIdreqEvent id.
subjectreqEmail subject.
bodyreqPlain text or simple HTML.
tagFilterOnly attendees whose ticket carries this tag.

Community

READreview_listPublished reviews for an organization or a single event, with aggregate rating.
FieldDescription
orgIdReviews across all the org’s events. Pass exactly one of orgId / eventId.
eventIdReviews for one event only.
cursorOpaque pagination cursor.
WRITEreview_replyPost the organizer’s public reply beneath a review one per review.

It is public agents should confirm the wording with the organizer before posting.

FieldDescription
reviewIdreqThe review to reply to.
bodyreqReply text.
WRITEreview_submitLeave a verified-attendee review ticketCode + email prove attendance, no login.
FieldDescription
ticketCodereqShort code on the ticket / confirmation email.
emailreqMust match the ticket holder.
ratingreq1–5 stars.
bodyreqReview text the reviewer’s own words, never invented.
authorNameDisplay name next to the review.
WRITEwaitlist_joinJoin a sold-out event’s waitlist the natural follow-up to TICKET_SOLD_OUT.

No payment at join time; offers are first-come within the offer window.

FieldDescription
eventIdreqEvent id.
emailreqWhere the offer email goes.
namereqBuyer name.
ticketTypeIdWait for a specific type.
READwaitlist_listWho’s waiting on an event since when, and each entry’s offer status.

Statuses: waiting, offered, accepted, expired. Check before waitlist_offer.

FieldDescription
eventIdreqEvent id.
cursorOpaque pagination cursor.
WRITEwaitlist_offerOffer tickets to the next N waiting people, in join order.

Each gets a time-limited purchase link by email real emails, so confirm the count with the organizer first.

FieldDescription
eventIdreqEvent id.
countreqHow many entries to offer to.
READfollower_countAn organization’s follower count plus a page of follower entries.

Followers are notified on new events useful for gauging announcement reach before a broadcast.

FieldDescription
orgIdreqOrganization id.
cursorOpaque pagination cursor.

Buyer

READmy_tickets_listThe buyer’s tickets across all organizers “what tickets do I have?”.

Needs a buyer-issued MCP token (user-delegated auth), not an organizer API key.

FieldDescription
cursorOpaque pagination cursor.
limitPage size, default 20.
WRITErefund_requestSubmit a refund request on the buyer’s behalf the organizer approves or denies.

Eligibility depends on the type’s refundable flag and the organizer’s deadline.

FieldDescription
ticketIdreqThe ticket to refund.
reasonreqAt least 10 characters “flight cancelled by airline” beats “can’t make it”.
messageOptional message to the organizer.
WRITEorganizer_messageAsk the organizer of a ticket a question “is there parking?” in the per-ticket thread.

Rate-limited to 10 messages/hour per organizer to prevent spam.

FieldDescription
ticketIdreqThe ticket the question is about.
bodyreqUp to 5,000 characters.
WRITEreport_submitFile a report about an event or organizer only when the buyer explicitly reports an issue.

harassment and fraud route directly to platform admins; the rest go to the organizer first.

FieldDescription
categoryreqmisleading_info, did_not_happen, harassment, fraud, accessibility or other.
descriptionreqAt least 20 characters.
eventIdOne of eventId / organizationId identifies the subject.
organizationIdReport the organizer rather than one event.

Analytics & wallet

READanalytics_eventHow an event is doing sold and remaining by type, revenue, sales over time, conversion, check-ins.
FieldDescription
eventIdreqEvent id.
READwallet_listThe organizer’s wallets one per organization + currency with available and pending balances.
FieldDescription
orgIdOptional limit to one organization.

Webhooks

READwebhook_listThe caller’s webhook subscriptions URL, events, status, masked secret.

No arguments.

WRITEwebhook_createSubscribe an HTTPS endpoint to platform events.

The response contains the full whsec_ signing secret exactly once surface it to the user prominently; it is masked on every later read.

FieldDescription
urlreqHTTPS endpoint that receives deliveries.
eventsreqEvent types from webhook_catalog, or ["*"] for all.
nameFriendly label, up to 120 characters.
WRITEwebhook_deleteDelete a subscription deliveries stop immediately, the secret is invalidated.

Cannot be undone recreating issues a new secret, so agents should confirm with the user first.

FieldDescription
idreqSubscription id.
READwebhook_deliveriesRecent delivery attempts the tool for debugging “my webhook isn’t firing”.

Shows event type, response status, latency, retry count and error detail look for 4xx/5xx from the receiving endpoint.

FieldDescription
idreqSubscription id.
READwebhook_catalogEvery event type the platform can emit call before webhook_create to pick valid names.

No arguments.

Audit#

Autonomy is earned. Every write that arrives through MCP produces an audit_logs row, fires an agent.action webhook, and appears in the portal's audit-log UI so the answer to "who did what" is always one query away.

webhook · agent.action
{
"id": "whe_01J…",
"type": "agent.action",
"created": "2026-06-10T15:21:47Z",
"data": {
"tool": "event_publish",
"args_hash": "sha256:1f6b…",
"result_summary": "published evt_… (friday-salsa-night)",
"mcp_token_id": "vt_mcp_…",
"human_principal": "[email protected]"
}
}