Find event and ticket configurations

Browse your publication's events, inspect one event's configuration, or read its ticket definitions. A ticket definition describes a ticket option; a pass is a separate record held by a person. These calls read configuration. They do not buy tickets, create passes or decide admission.

TaskOperationResponse
Find event IDs and browse their ticketsGET /api/v1/admin/ti-eventsPaginated event items
Inspect one event and its targeting settingsGET /api/v1/admin/ti-event/{id}Event object with tickets, taxonomies and content types
Read an event's ticket definitionsGET /api/v1/admin/ti-event/{id}/ticketsEvent object containing tickets

Before you start

A resource is the publication selected by its public key. Use an existing publication-staff token authorized for the intended publication. Allowed roles are readonly, manager, support, admin and partner; root is also permitted. Service-account credentials are not supported by these routes. Keep these calls in trusted server code.

The caller must be active and permitted to use the selected publication. Send these headers on every request:

NameLocation / typeRequirement and meaning
resourceHeader, stringRequired publication public key, supplied as RESOURCE_KEY. It is not the numeric event ID.
tokenHeader, stringRequired existing eligible token, supplied as ADMIN_TOKEN.

Examples use fictional event 5001, ticket definition 5101, and discount record 5201. Requests use cURL, Node.js 18+ built-in fetch in an ES module (.mjs), and Python 3 urllib. Set WALLKIT_API_BASE to the API scheme and host only, plus RESOURCE_KEY and ADMIN_TOKEN. See example conventions; all examples are synthetic and unexecuted.

For a read-through workflow:

  1. List events with an explicit page and page size. Use an event's id, such as 5001, for either detail route.
  2. Read event 5001 to inspect its ticket definitions and taxonomy/content-type settings together.
  3. Use the event's /tickets route when you need the event and ticket definitions without those targeting arrays. Ticket ID 5101 belongs to the nested definition; it is not the path ID for this call.

To set up an event or change its settings, continue with create, copy and edit events. Those operations require admin or partner permissions; discovery permissions alone do not permit writes.

An active event or ticket flag does not establish current sale availability, remaining capacity or a person's access. For attendee-side tasks, continue with the separate customer event and pass operations.

Shared event fields

All three operations return these event fields. The list nests each event under items; the two detail routes put the event at the response root. Stored scalar values are not uniformly converted: numeric values may retain their stored representation, flags are not guaranteed JSON booleans, and stored nulls are not replaced with defaults. Array order is unspecified unless the operation states otherwise.

FieldType / presenceMeaning
idStored numeric identifierEvent ID; use it for event-detail and event-ticket requests.
slugStored text / nullable valueEvent's stored slug.
titleStored text / nullable valueEvent name.
descriptionStored text / nullable valueEvent description.
locationStored text / nullable valueLocation supplied in the event configuration.
timezoneStored text / nullable valueConfigured timezone value; it does not convert the returned dates.
registration_pageStored text / nullable valueConfigured registration-page value.
urlStored text / nullable valueConfigured event URL.
contact_emailStored text / nullable valueEvent contact address.
statusStored scalar / nullable valueConfigured status; a complete status enum is unspecified here.
start_dateStored date/time value / nullConfigured start; timestamp format and timezone normalization are unspecified.
end_dateStored date/time value / nullConfigured end; this response does not evaluate whether the event is current.
activeStored flag / nullable valueEvent's active setting. These Admin reads can include inactive events.
is_virtualStored flagEvent's virtual-event setting.
photoAlways an arrayRelated photo media; [] when none.
photo[].slugStored text / nullable valuePhoto's stored slug.
photo[].urlStored text / nullable valuePhoto's stored URL.
ticketsAlways an arrayRelated ticket definitions, including inactive/private definitions; [] when none.

These projections do not include event resource_id or created/updated timestamps. Only event detail adds the targeting arrays.

Shared ticket-definition fields

Each tickets[] object has these fields. Stored quantity and price settings describe configuration; they are not a computed stock balance or checkout quote.

FieldType / presenceMeaning
idStored numeric identifierTicket-definition ID, distinct from an event or purchased pass ID.
ti_event_idStored numeric identifierParent event ID.
titleStored text / nullable valueTicket name.
slugStored text / nullable valueTicket's stored slug.
descriptionStored text / nullable valueTicket description.
quantityStored numeric value / nullConfigured quantity, not remaining capacity.
priceStored numeric value / nullConfigured price; monetary units are unspecified here.
currencyStored text / nullable valueStored currency value; no conversion is performed.
min_quantity_orderStored numeric value / nullConfigured minimum quantity per order.
max_quantity_orderStored numeric value / nullConfigured maximum quantity per order.
statusStored scalar / nullable valueConfigured ticket status; no complete response enum is specified.
start_dateStored date/time value / nullConfigured ticket start; not an evaluated sale window.
end_dateStored date/time value / nullConfigured ticket end; timezone normalization is unspecified.
is_privateStored flag / nullable valuePrivate-ticket setting. Private definitions remain visible in these Admin results.
activeStored flag / nullable valueActive setting; inactive definitions remain visible.
is_applied_vatStored flag / nullable valueConfigured VAT setting, without a tax calculation.
vat_percentStored numeric value / nullConfigured VAT percentage value, not a calculated tax amount.
extraDecoded JSON or stored value / nullAdditional stored data without a fixed property schema. Nonempty strings other than "0" are JSON-decoded; empty string and "0" remain unchanged. Invalid JSON can become null.
plan_discountsAlways an arrayStored discounts linked to Plans; [] when none. No eligibility or discount calculation is performed.
plan_discounts[].idStored numeric identifierDiscount-record ID.
plan_discounts[].ti_event_ticket_idStored numeric identifier / nullTicket definition referenced by the discount record.
plan_discounts[].plan_idStored numeric identifier / nullReferenced Plan ID. A Plan groups catalog subscription choices; it is not a purchased pass or a reader's membership.
plan_discounts[].discountStored numeric value / nullConfigured discount value; units and effective amount are unspecified here.
plan_discounts[].discount_typeStored scalar / nullable valueStored discount type; a complete enum is unspecified.
plan_discounts[].currencyStored scalar / nullable valueStored discount currency value.
plan_discounts[].activeStored flag / nullable valueStored discount setting; inactive records are not removed from this array.

No passes, computed available, or nested ti_event object is added to these ticket definitions. Discount records do not include an expanded Plan object.

Browse event configurations

GET /api/v1/admin/ti-events

Find event IDs and inspect their configured tickets in the selected publication. The list includes inactive events and does not restrict events or nested tickets to a current date window.

Request

Send the shared headers. No body or existing event ID is needed.

Query inputType / requirementMeaning and constraints
pageOptional integer; use an explicit positive valueSelect a page, such as 1. The omitted-page behavior is unspecified.
limitOptional integer; configured default 10Page size. Send a positive value such as 10; no maximum is specified here.
orderOptional known event-field stringSort field. The example uses active, as the Admin event list does. Omission does not establish a stable result order.
byOptional known event-field stringAlternative sort-field input; order takes precedence when supplied.
sortOptional direction string; default DESCUse ASC or DESC with the selected sort field. No tie order is promised.
filterOptional field map, JSON string or bracket parametersFilter supported event fields. Text matching is case-insensitive and searches within the stored text. Omit filter when no additional filtering is needed.

Result

HTTP 200 returns the following envelope. Pagination counts events, not nested tickets.

FieldType / presenceMeaning
itemsArrayEvent objects with ticket definitions; [] for a page with no matching events.
paginator.current_pageIntegerCurrent page reported by pagination.
paginator.pageIntegerCurrent page, also exposed under this key.
paginator.total_pagesIntegerNumber of pages reported by pagination.
paginator.total_itemsIntegerTotal matching events.
paginator.limitIntegerReported page size.

The list omits taxonomies and content_types. Use event detail when you need those settings. Pagination does not promise a fixed snapshot across requests.

Example: Find event 5001

Browse the first ten events with active events ordered first. Event 5001 contains ticket definition 5101; its presence describes stored configuration.

curl --get "${WALLKIT_API_BASE}/api/v1/admin/ti-events" \
  -H "resource: ${RESOURCE_KEY}" \
  -H "token: ${ADMIN_TOKEN}" \
  --data-urlencode 'page=1' \
  --data-urlencode 'limit=10' \
  --data-urlencode 'order=active' \
  --data-urlencode 'sort=desc'
const url = new URL(`${process.env.WALLKIT_API_BASE}/api/v1/admin/ti-events`);
url.search = new URLSearchParams({page: "1", limit: "10", order: "active", sort: "desc"}).toString();
const response = await fetch(url, {
  method: "GET",
  headers: {resource: process.env.RESOURCE_KEY, token: process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
from urllib.parse import urlencode

url = os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/ti-events"
url += "?" + urlencode({"page": "1", "limit": "10", "order": "active", "sort": "desc"})
request = Request(url,
    headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
    method="GET")
try:
    with urlopen(request) as response:
        print(response.status, json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))

Synthetic HTTP 200 excerpt; other event/ticket fields are defined above:

{
  "items": [
    {
      "id": 5001,
      "title": "Example Session",
      "photo": [],
      "tickets": [
        {"id": 5101, "ti_event_id": 5001, "title": "General admission", "plan_discounts": [{"id": 5201, "ti_event_ticket_id": 5101, "plan_id": 5301}]}
      ]
    }
  ],
  "paginator": {"current_page": 1, "page": 1, "total_pages": 1, "total_items": 1, "limit": 10}
}

Use event ID 5001 for either detail operation. Ticket ID 5101 identifies the ticket definition inside that event.

Empty page and recovery

A page without matching events returns HTTP 200 with items: [] and a paginator. Excerpt:

{"items": []}
HTTP statusAPI code / shapeCauseNext action
200Empty items, with paginatorNo matching events on this page.Check publication, page and filters; show an empty state.
409error; Error get TiEvents listA query or read failed.Check supported inputs; keep the request reference and contact the integration operator if unresolved. An error can include fields collected before the failure; do not treat them as a complete successful page.
Varies / no guaranteed JSONIncomplete or failed responseRelated data or transport failed outside the ordinary error response.Treat the request as failed; do not convert it to an empty list.

Also see shared credential errors. Next, inspect the event for targeting settings, or read its tickets.

Inspect one event

GET /api/v1/admin/ti-event/{id}

Read one event's configuration, ticket definitions and targeting settings. A known inactive event can still be read; this is not an availability check.

Request

Send the shared headers and a numeric event ID from the list. No body, pagination or expansion input is needed.

InputLocation / typeRequirement and meaning
idPath, decimal event IDRequired existing event in the selected publication, such as 5001. Do not substitute ticket ID 5101.

Result

HTTP 200 returns the event fields at the root, including tickets, plus the targeting arrays below. There is no items, data or paginator wrapper. No tickets means tickets: []; it does not mean the event is missing.

Added fieldType / presenceMeaning
taxonomiesAlways an arrayConfigured taxonomy groups, [] when no relationships.
taxonomies[].idStored numeric identifierTaxonomy group ID.
taxonomies[].keyStored text / nullable valueGroup key.
taxonomies[].titleStored text / nullable valueGroup display title.
taxonomies[].termsArrayTerms configured under this group.
taxonomies[].terms[].idStored numeric identifierTerm ID, distinct from the group ID.
taxonomies[].terms[].keyStored text / nullable valueTerm key.
taxonomies[].terms[].titleStored text / nullable valueTerm display title.
taxonomies[].terms[].excludeBooleanStored exclusion setting for this term relationship.
content_typesAlways an arrayConfigured content types, [] when no relationships.
content_types[].idStored numeric identifierContent-type ID.
content_types[].keyStored text / nullable valueContent-type key.
content_types[].excludeBooleanStored exclusion setting for this content-type relationship.

These are targeting settings, not a computed access decision for a reader.

Example: Inspect event 5001

Read the event discovered above. This excerpt shows the ticket and empty targeting arrays.

curl "${WALLKIT_API_BASE}/api/v1/admin/ti-event/5001" \
  -H "resource: ${RESOURCE_KEY}" \
  -H "token: ${ADMIN_TOKEN}"
const response = await fetch(`${process.env.WALLKIT_API_BASE}/api/v1/admin/ti-event/5001`, {
  method: "GET",
  headers: {resource: process.env.RESOURCE_KEY, token: process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError

request = Request(os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/ti-event/5001",
    headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
    method="GET")
try:
    with urlopen(request) as response:
        print(response.status, json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))

Synthetic HTTP 200 excerpt:

{
  "id": 5001,
  "title": "Example Session",
  "photo": [],
  "tickets": [
    {"id": 5101, "ti_event_id": 5001, "title": "General admission", "plan_discounts": [{"id": 5201, "ti_event_ticket_id": 5101, "plan_id": 5301}]}
  ],
  "taxonomies": [],
  "content_types": []
}

Missing event and recovery

A missing event, including an ID belonging to a different selected publication, returns HTTP 404. Synthetic error excerpt:

{"error": "ti_event_not_found", "error_description": "Ti event not found"}
HTTP statusAPI code / shapeCauseNext action
200Root event with tickets: []Event exists without related ticket definitions.Show the event with no tickets; do not report it as missing.
404ti_event_not_foundNo event matches this ID and publication.Verify the publication key and event ID; rediscover the ID in the event list.
Variesinvalid_ti_event with descriptionEvent lookup failed; status is not uniformly 409.Check the request, retain its reference and contact the integration operator if unresolved.
Varies / no guaranteed JSONRelated-data or transport failureEvent configuration could not be fully returned.Treat it as a failed detail read, not missing or empty configuration.

Also see shared credential errors. To retrieve the event and ticket definitions without targeting arrays, use the event's ticket route.

Read an event's ticket definitions

GET /api/v1/admin/ti-event/{id}/tickets

Read ticket definitions together with their parent event. Despite the path's final segment, the response is an event object containing tickets, not a bare ticket array or a list of passes.

Request

Send the shared headers. No body, filter or pagination input is used for this operation.

InputLocation / typeRequirement and meaning
idPath, decimal event IDRequired existing event in the selected publication. Use 5001 from event discovery, not ticket definition 5101.

Result

HTTP 200 returns the event fields at the response root, with tickets containing the ticket-definition fields. There is no items, data or paginator wrapper, and no taxonomies or content_types expansion. An existing event without ticket definitions returns tickets: [].

Ticket definitions include stored discounts linked to Plans, without active/private/date filtering or computed availability. This read does not create or activate a purchased pass.

Example: Read tickets for event 5001

The same event and ticket IDs carry through this request. This excerpt includes one stored discount record to show its nesting; other discount fields are defined in the shared table.

curl "${WALLKIT_API_BASE}/api/v1/admin/ti-event/5001/tickets" \
  -H "resource: ${RESOURCE_KEY}" \
  -H "token: ${ADMIN_TOKEN}"
const response = await fetch(`${process.env.WALLKIT_API_BASE}/api/v1/admin/ti-event/5001/tickets`, {
  method: "GET",
  headers: {resource: process.env.RESOURCE_KEY, token: process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError

request = Request(os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/ti-event/5001/tickets",
    headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
    method="GET")
try:
    with urlopen(request) as response:
        print(response.status, json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))

Synthetic HTTP 200 excerpt:

{
  "id": 5001,
  "title": "Example Session",
  "photo": [],
  "tickets": [
    {
      "id": 5101,
      "ti_event_id": 5001,
      "title": "General admission",
      "plan_discounts": [{"id": 5201, "ti_event_ticket_id": 5101, "plan_id": 5301}]
    }
  ]
}

Empty tickets, invalid event and recovery

HTTP 200 excerpt for an existing event without ticket definitions:

{"id": 5001, "tickets": []}

A missing event ID normally returns HTTP 409 invalid_ticket, rather than the event-detail route's 404. Synthetic error excerpt:

{"error": "invalid_ticket", "error_description": "invalid_ti_event_id Message:Incorrect TiEvent ID"}
HTTP statusAPI code / shapeCauseNext action
200Root event with tickets: []Event exists without related ticket definitions.Show an empty ticket list within the event.
409invalid_ticket; description includes Incorrect TiEvent IDEvent could not be validated.Check that the path contains an event ID from discovery.
409invalid_ticket; description includes Incorrect ResourceEvent does not match the selected publication.Verify the resource key and choose an event from that publication.
409invalid_ticket, other descriptionValidation or event lookup failed.Preserve the description/request reference; investigate the configuration with the integration operator.
Varies / no guaranteed JSONRelated-data or transport failureEvent/ticket configuration could not be fully returned.Treat it as a failed read, not a successful empty ticket list.

Also see shared credential errors. Use this configuration to identify the event and ticket definition. For a person's owned or assigned passes, follow the separate customer ticket/pass workflow; configuration alone does not establish their access.

Shared credential errors

Errors include error, error_description and a req_guid request reference. An HTTP success confirms the configuration read, not a purchase or admission decision.

HTTP statusAPI codeCauseNext action
404resource_not_existsPublication key is missing or invalid.Check the resource header and intended publication.
401auth_failedCaller is not authorized.Check the assigned token with the integration administrator.
401auth_access_failCaller or current publication access is inactive, locked or suspended.Ask the publication administrator to review the caller's access.
401token_expiredExisting session token expired.Obtain a valid token through the integration's established authentication process.
401token_compromisedToken was revoked or compromised.Stop using that token and contact the integration administrator.
401 or 403accessCaller lacks the required access context or role.Confirm the publication and an eligible staff role; do not substitute a customer or service-account token.
409initialize_failedRequest context could not be initialized.Retain the request reference and contact the integration operator.

Full diagram

Use the arrow keys to scroll. Escape closes this view.

Search documentation

Enter at least 2 characters.

    ↑ ↓ move through results · Enter opens · Escape closes