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

Start free trial

List Tickets

tickets/list-tickets returns every ticket attached to a post, from every active provider, with its price, sale window and complete capacity position.

Capacity is reported in full rather than flattened to one number, because in Event Tickets it genuinely is not one number.

At a glance

Abilitytickets/list-tickets
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

A ticket can keep its own stock, draw from a shared event pool, draw from that pool up to a cap of its own, or be unlimited. Those are the four modes — own, global, capped and unlimited — and they behave differently enough that collapsing them loses the answer.

So every ticket comes back with its mode alongside its numbers: capacity, sold, pending and available. Pending matters more than people expect — a seat in somebody’s unpaid order is not available, and not yet sold.

A ticket in global or capped mode has no meaningful capacity of its own. For those, tickets/get-capacity-report is the call that answers “how many seats are left”.

Input

NameTypeRequiredWhat it is
post_idintegerYesThe event, page or other ticketed post.

What comes back

NameTypeWhat it is
ticketsarrayOne entry per ticket: name, price, provider, sale window, capacity, mode, stock, sold, pending and available.
countintegerHow many tickets the post has.
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 tickets does this event have, and how many are left?

It resolves to one call:

{
  "ability": "tickets/list-tickets",
  "parameters": {
    "post_id": 412
  }
}

Worth knowing

  • Covers every active provider — RSVP, Tickets Commerce, and the WooCommerce or EDD providers where Event Tickets Plus is present.
  • Pending is not sold and not available. Unpaid orders hold seats.
  • For shared-pool tickets, read tickets/get-capacity-report instead of doing arithmetic on these numbers.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading