Skip to main content
const ticketType = await luma.events.ticketTypes.create("evt-abc123", {
  name: "General admission",
  type: "free",
});

console.log("Created:", ticketType.api_id);
{
  "api_id": "tkt-new456",
  "name": "General admission",
  "type": "free",
  "is_hidden": false
}
SDK luma.events.ticketTypes.create(eventId: string, body: TicketTypeCreateParams): Promise<TicketType> Creates a new ticket type for an event.
const ticketType = await luma.events.ticketTypes.create("evt-abc123", {
  name: "General admission",
  type: "free",
});

console.log("Created:", ticketType.api_id);
{
  "api_id": "tkt-new456",
  "name": "General admission",
  "type": "free",
  "is_hidden": false
}

Parameters

eventId
string
required
Event api_id from events.list().
body
TicketTypeCreateParams
required
Ticket type fields to create. See the official Luma API docs for available fields.

Test it

Create a free ticket type on a test event:
const eventId = "evt-abc123";

const ticketType = await luma.events.ticketTypes.create(eventId, {
  name: "SDK test ticket",
  type: "free",
});
console.log("Created:", ticketType.api_id);