30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Get Ticket

tickets/get-ticket reads a single ticket: price, sale window, which provider sells it, and the whole capacity model rather than a headline number.

It is the confirmation read before changing anything about that ticket.

At a glance

Abilitytickets/get-ticket
ToolsetEvent Tickets — toolset/event-tickets
GroupEvent Tickets › Tickets
RequiresEvent Tickets, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The provider matters when you intend to write. A ticket sold through WooCommerce behaves differently from one sold through Tickets Commerce, and some fields belong to the provider rather than to Event Tickets.

The sale window is two dates, and a ticket outside its window is simply not purchasable — which is the answer to a surprising share of “the ticket is not showing” reports.

Capacity here is the ticket’s own view. If the mode is global or capped, the number that actually governs sales lives on the event.

Input

NameTypeRequiredWhat it is
ticket_idintegerYesThe ticket ID.

What comes back

NameTypeWhat it is
ticketobjectName, description, price, provider, sale window, capacity, mode, stock, sold and pending.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What’s the price and sale window on ticket 980?

It resolves to one call:

{
  "ability": "tickets/get-ticket",
  "parameters": {
    "ticket_id": 980
  }
}

Worth knowing

  • A ticket outside its sale window does not appear to buyers. Check the dates before debugging anything else.
  • Capacity here is the ticket’s own. Shared-pool tickets are governed at event level.
  • Read this before tickets/update-ticket so the write is idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading