Ticket Classes
Create Ticket Class
Create a new ticket class (tier) on an event
POST
Create Ticket Class
Creates a new ticket class (a tier — General Admission, VIP, Early Bird, …) on an event your API key’s organization owns. Requires theticket_classes:write scope.
Idempotency
Pass anIdempotency-Key header (max 255 chars) to make POST retries safe. The first request executes the create; subsequent requests with the same key within 24 hours replay the original response verbatim — including the original status code — and add an Idempotent-Replay: true response header. Keys are scoped per API key.
Two concurrent requests with the same key return 409 idempotent_request_in_progress to the second caller.
Path Parameters
string
required
The unique identifier of the event.
Request Body
string
required
Ticket class name (1..120 chars). Must be unique among active ticket classes on the event.
string
Optional description shown to attendees (max 10000 chars).
string
required
ISO 4217 currency code (
USD, EUR, …).number
required
Price per ticket. Pass
0 for free tickets.boolean
Marks the class as free. Defaults to
true when cost is 0.integer
Total tickets available. Pass
0 (default) for unlimited.string
ISO 8601 datetime when ticket sales open.
string
ISO 8601 datetime when ticket sales close.
integer
Minimum tickets per order (default
1).integer
Maximum tickets per order (default
10).boolean
When
true, new registrations land in pending_approval instead of valid. Default false.boolean
Hide this ticket class from the public event page. Default
false.Response
Returns201 Created with the newly created ticket class in the same shape as Get Ticket Class.
Errors
400 Validation failed— invalid body shape (seedetailsfor the Zod error).404 Event not found— the event does not belong to your organization, or does not exist.409 A ticket class with this name already exists— another active class on this event already uses this name.
