Tickets API
Manage ticket types and pricing
Overview
The Tickets API allows you to manage ticket types for your events. You can create different ticket tiers, set pricing, manage inventory, and more.
Endpoints
List tickets
GET
/ticketsGet a list of ticket types for an event with optional filtering.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id | UUID | Yes | Event ID |
is_active | Boolean | No | Filter by active status |
early_bird | Boolean | No | Filter by early bird status |
Example request
curl -X GET "https://eventnerds.com/api/developer/v1/tickets?event_id=EVENT_ID&is_active=true" \
-H "Authorization: Bearer YOUR_API_KEY"Create ticket
POST
/ticketsCreate a new ticket type for your event.
Example request
curl -X POST "https://eventnerds.com/api/developer/v1/tickets" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event_id": "EVENT_ID",
"name": "General Admission",
"description": "Full access to all sessions",
"price": 299.00,
"quantity": 500,
"is_active": true,
"early_bird": false
}'