Skip to content

Reference

Exports

CSV exports made in the background.

View as Markdown

Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.

List exports#

GET /v1/exports

Operation id listExports. MCP tool list_exports. SDK tickets.exports.list.

CSV exports made so far, newest first, each with what it was asked for and a fresh download link while ready.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has exports.personal (owner, admin).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…
kindquery"attendees" | "orders" | "payments" | "contacts" | "settlement"
eventquerystringAn id starting with evt_.
created_gtequerystring (date-time)Only those created at or after this instant.
created_ltquerystring (date-time)Only those created before this instant.

Answers 200. A page of exports, each with what it was asked for (ready ones with a fresh link).

Fields

FieldTypeDescription
object *"list"
data *array of ExportThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id of data as starting_after, or the last id of unreadable when data is empty.
url *"/v1/exports"The path this list came from (/v1/exports).
unreadablearray of objectRows of this page the service could not read, in place of showing them: they exist and are kept, so a page without them is not the whole list. Absent when there are none. A page names at most 25; past that it stops and…

* required

Make a CSV export#

POST /v1/exports

Operation id createExport. MCP tool create_export. SDK tickets.exports.create.

Starts a CSV export in the background (attendees, orders, payments, contacts or settlement). It answers 202 with an export you poll at GET /v1/exports/{id} until status is ready. from and to narrow it on a date that depends on the kind: when the order was made (orders), when the money moved (payments, settlement), when the ticket was issued (attendees), when the person said yes (contacts). Personal data, so it needs exports.personal.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has exports.personal (owner, admin).

Request body (CreateExportInput)

FieldTypeDescription
kind *"attendees" | "orders" | "payments" | "contacts" | "settlement"attendees; orders; payments (gross, fees, tax, refunds, code, source: for the accountant); contacts (opted-in only, with consent evidence); settlement (the settlement statement of one event or one series: money by order…
eventstringAn id starting with evt_.
seriesstringsettlement only: every event with this series tag.
fromstring (date-time)Inclusive. On: orders, when made; payments and settlement, when money moved; attendees, when issued; contacts, when they said yes.
tostring (date-time)Not included. The same date as from.
channel"email" | "sms"contacts: one channel.

* required

JSON
{
  "kind": "contacts",
  "channel": "sms",
  "event": "evt_yrd2027"
}

Answers 202. Being made.

Fields (Export)

FieldTypeDescription
object *"export"
id *stringAn id starting with exp_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
kind *"attendees" | "orders" | "payments" | "contacts" | "settlement"
event *string | nullThe event asked for (null: all).
seriesstring | nullsettlement: the series asked for (absent or null otherwise).
from *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
to *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
channel *"email" | "sms" | nullcontacts: the channel asked for.
status *"pending" | "ready" | "failed"
failurestring | nullfailed, when the service could say why.
row_count *integer | null
left_out_no_wordsintegercontacts: people left out because they said yes on an event with no consent words (consent_texts) for this channel, so nothing they agreed to is on record. Absent on other kinds.
url *string | nullWhen ready: a CSV link that works for 15 minutes (retrieve again for a fresh one).
url_expires_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
created_by *ActorWho made a change.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

Retrieve an export (and a fresh link)#

GET /v1/exports/{id}

Operation id getExport. MCP tool get_export. SDK tickets.exports.retrieve.

One export with its status. Once ready it carries a fresh download link, so a link never has to be kept.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has exports.personal (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with exp_.

Answers 200. The export.

Fields (Export)

FieldTypeDescription
object *"export"
id *stringAn id starting with exp_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
kind *"attendees" | "orders" | "payments" | "contacts" | "settlement"
event *string | nullThe event asked for (null: all).
seriesstring | nullsettlement: the series asked for (absent or null otherwise).
from *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
to *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
channel *"email" | "sms" | nullcontacts: the channel asked for.
status *"pending" | "ready" | "failed"
failurestring | nullfailed, when the service could say why.
row_count *integer | null
left_out_no_wordsintegercontacts: people left out because they said yes on an event with no consent words (consent_texts) for this channel, so nothing they agreed to is on record. Absent on other kinds.
url *string | nullWhen ready: a CSV link that works for 15 minutes (retrieve again for a fresh one).
url_expires_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
created_by *ActorWho made a change.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required