> ## Documentation Index
> Fetch the complete documentation index at: https://alhwyn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a ticket type

> Fetch a single Luma event ticket type by ID with luma.events.ticketTypes.get(eventId, ticketTypeId), returning name, price, capacity, and details.

<Badge color="purple">SDK</Badge> `luma.events.ticketTypes.get(eventId: string, ticketTypeId: string): Promise<TicketType>`

Returns a single ticket type by ID.

<RequestExample>
  ```typescript Example theme={null}
  const ticketType = await luma.events.ticketTypes.get("evt-abc123", "tkt-xyz789");
  console.log(ticketType.name);
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "api_id": "tkt-xyz789",
    "name": "General admission",
    "type": "free",
    "is_hidden": false
  }
  ```
</ResponseExample>

### Parameters

<ParamField path="eventId" type="string" required>
  Event `api_id` from `events.list()`.
</ParamField>

<ParamField path="ticketTypeId" type="string" required>
  Ticket type `api_id` from `events.ticketTypes.list()`.
</ParamField>

### Test it

Use an event and ticket type ID from your calendar:

```typescript theme={null}
const eventId = "evt-abc123";
const ticketTypeId = "tkt-xyz789";

const ticketType = await luma.events.ticketTypes.get(eventId, ticketTypeId);
console.log(ticketType.name);
```
