Ticket Types
2 endpoints
/{account_slug}/{event_slug}/ticket_types
list ticket types
Returns a paginated list of all ticket types for the specified event, sorted by position. Each ticket type includes pricing, capacity, and configuration details.
Requires authentication
Path parameters
| Name | Description |
|---|---|
account_slug string Required |
The unique slug identifier for your Tito account |
event_slug string Required |
The unique slug identifier for the event |
Query parameters
| Name | Description |
|---|---|
page integer |
Page number for pagination (default: 1) |
q string |
Search ticket types by name or slug |
sort string |
Sort order. Default is by position. Use name_az for A–Z or name_za for Z–A.: * `name_az` * `name_za` |
Response fields
| Field | Description |
|---|---|
ticket_types array |
|
ticket_types[].id integer |
Unique identifier for the ticket type |
ticket_types[].slug string |
URL-friendly unique identifier for the ticket type within the event |
ticket_types[].name string |
Display name of the ticket type |
ticket_types[].description string | null |
Optional description of the ticket type |
ticket_types[].price integer | null |
Price in cents (null or 0 for free tickets) |
ticket_types[].currency string | null |
ISO 4217 currency code (inherited from event) |
ticket_types[].quantity integer | null |
Maximum capacity (null for unlimited) |
ticket_types[].position integer | null |
Sort order position |
ticket_types[].is_bundle boolean |
Whether this ticket type is a bundle of other ticket types |
ticket_types[].tax_behavior string |
Whether the price includes or excludes tax |
ticket_types[].created_at string |
Timestamp when the ticket type was created |
ticket_types[].updated_at string |
Timestamp when the ticket type was last updated |
meta object |
|
meta.lookup_mode string |
Current lookup mode (live or test) |
meta.pagination object |
|
meta.pagination.page integer |
Current page number |
meta.pagination.items integer |
Number of items per page |
meta.pagination.pages integer |
Total number of pages |
meta.pagination.count integer |
Total number of ticket types |
Error responses
- 401 – unauthorized - no bearer token provided or token is invalid
- 403 – forbidden - API token does not have access to this event
Example request
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.pro.tito.io/{account_slug}/{event_slug}/ticket_types
Example response
{
"ticket_types": [
{
"id": 101,
"slug": "early-bird",
"name": "Early bird",
"description": "Discounted ticket for early registrants",
"price": 10000,
"currency": "eur",
"quantity": 100,
"position": 1,
"is_bundle": false,
"tax_behavior": "exclusive",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
},
{
"id": 102,
"slug": "regular",
"name": "Regular",
"description": null,
"price": 20000,
"currency": "eur",
"quantity": null,
"position": 2,
"is_bundle": false,
"tax_behavior": "exclusive",
"created_at": "2025-01-16T14:00:00Z",
"updated_at": "2025-01-16T14:00:00Z"
}
],
"meta": {
"lookup_mode": "live",
"pagination": {
"page": 1,
"items": 20,
"pages": 1,
"count": 2
}
}
}
/{account_slug}/{event_slug}/ticket_types/{id}
show ticket type
Returns detailed information about a specific ticket type, including settings, buy-x-get-y-free configuration, dependencies, and bundle items.
Requires authentication
Path parameters
| Name | Description |
|---|---|
account_slug string Required |
The unique slug identifier for your Tito account |
event_slug string Required |
The unique slug identifier for the event |
id string Required |
The unique identifier or slug for the ticket type |
Response fields
| Field | Description |
|---|---|
id integer |
Unique identifier for the ticket type |
slug string |
URL-friendly unique identifier for the ticket type within the event |
name string |
Display name of the ticket type |
description string | null |
Optional description of the ticket type |
price integer | null |
Price in cents (null or 0 for free tickets) |
currency string | null |
ISO 4217 currency code (inherited from event) |
quantity integer | null |
Maximum capacity (null for unlimited) |
position integer | null |
Sort order position |
is_bundle boolean |
Whether this ticket type is a bundle of other ticket types |
tax_behavior string |
Whether the price includes or excludes tax |
tickets_count integer |
Number of issued tickets for this ticket type (respects current lookup mode). Compare with quantity to determine if sold out. |
settings object |
Ticket type settings |
settings.anonymous boolean |
Whether attendee details are hidden |
settings.qr_code_disabled boolean |
Whether QR codes are disabled for this ticket type |
settings.maximum_tickets_per_order integer |
Maximum number of this ticket type allowed per order |
buy_x_get_y_free object |
Buy-X-Get-Y-Free promotion details (only present when enabled) |
buy_x_get_y_free.enabled boolean |
|
buy_x_get_y_free.buy_quantity integer |
Number of tickets to buy |
buy_x_get_y_free.free_quantity integer |
Number of free tickets granted |
buy_x_get_y_free.free_ticket_type_id integer | null |
ID of the ticket type granted for free (null if same ticket type) |
dependencies array |
Ticket type dependencies (only present when enabled) |
dependencies[].required_ticket_type_id integer |
ID of the required ticket type |
dependencies[].dependency_type string |
Whether the dependency is required or recommended |
dependencies[].max_quantity_ratio integer |
Maximum ratio of this ticket to the required ticket |
bundle_items array |
Bundle contents (only present for bundle ticket types) |
bundle_items[].ticket_type_id integer |
ID of the included ticket type |
bundle_items[].ticket_type_name string |
Name of the included ticket type |
bundle_items[].quantity integer |
Number of this ticket type included in the bundle |
created_at string |
Timestamp when the ticket type was created |
updated_at string |
Timestamp when the ticket type was last updated |
Error responses
- 401 – unauthorized - no bearer token provided or token is invalid
- 403 – forbidden - API token does not have access to this event
- 404 – not found - ticket type ID does not exist or is not accessible
Example request
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.pro.tito.io/{account_slug}/{event_slug}/ticket_types/123
Example response
{
"id": 101,
"slug": "early-bird",
"name": "Early bird",
"description": "Discounted ticket for early registrants",
"price": 10000,
"currency": "eur",
"quantity": 100,
"position": 1,
"is_bundle": false,
"tax_behavior": "exclusive",
"tickets_count": 42,
"settings": {
"anonymous": false,
"qr_code_disabled": false,
"maximum_tickets_per_order": 100
},
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}