TicketImports​
CSV ticket import: upload file, map columns, preview, and run import (update existing or create new tickets).
List ticket imports​
Create ticket import​
POST
/api/v2/ticket-imports
Upload a CSV file and create a draft import.
Authorizations​
bearerAuth
Type
HTTP (bearer)
Request Body​
multipart/form-data
object
file
string
Required
CSV file
Format
"binary"importType
string
Valid values
"update""import""importAndCharge"eventId
integer
ticketTypeId
integer
shippingMethodId
integer
purchaseDateTimestamp
integer
skipFirstRow
boolean
readPurchaseDateFromCsv
boolean
Responses​
Ticket import created
application/json
{
 Â
}
Get mapping fields​
Get ticket import by ID​
Delete ticket import​
DELETE
/api/v2/ticket-imports/{id}
Removes the CSV file from storage. If status is not completed (e.g. drafting, processing, failed), the ticket import record is also deleted. If status is completed, only the file is removed and the record is kept (s3Key cleared). Returns 400 if the file could not be removed from storage.
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
id*
Type
Requiredinteger
Responses​
Ticket import and/or file deleted successfully
Update ticket import​
PATCH
/api/v2/ticket-imports/{id}
Save column mapping for the import. Allowed only when status is drafting.
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
id*
Type
Requiredinteger
Request Body​
application/json
"string"
Responses​
Ticket import object
application/json
{
 Â
}
Preview ticket import​
Process ticket import​
POST
/api/v2/ticket-imports/{id}/process
Runs the CSV import. Import must be in drafting status with column mapping set.
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
id*
Type
Requiredinteger
Responses​
Ticket import object
application/json
{
 Â
}
