Find a specific ticket
const url = 'https://www.eventpop.me/api/public/tickets/search?event_id=example&reference_code=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://www.eventpop.me/api/public/tickets/search?event_id=example&reference_code=example'Searches for a ticket by event ID and reference code within the organizer’s events. Requires Application Access Token (the application must be owned by the event’s organizer). Useful for ticket validation and check-in systems.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Event ID
Ticket reference code (e.g., “ABC123”)
OAuth Token (alternative to Authorization header)
Responses
Section titled “Responses”Search ticket by reference code
PublicAPI_Entities_TicketSearchResponse model
object
Operation success status
Found ticket
object
Unique ticket identifier
ID of the order this ticket belongs to
ID of the event this ticket is for
Ticket status (e.g., “active”, “used”, “revoked”)
Ticket holder first name
Ticket holder last name
Ticket holder phone number
Ticket holder email address
Unique reference code for ticket validation (e.g., “ABC123”)
Ticket kind (e.g., “normal”, “external”)
External system identifier for idempotency
Note explaining why ticket was revoked
Ticket type information including name and price
object
Ticket price label (formatted price, “Free”, complimentary note, or pack pricing)
Custom form field responses for this ticket
Ticket creation timestamp (ISO 8601 format)
Last update timestamp (ISO 8601 format)
Check-in timestamp (ISO 8601 format), null if not used
Registration timestamp (ISO 8601 format), null if not registered
Examplegenerated
{ "success": true, "ticket": { "id": 1, "order_id": 1, "event_id": 1, "status": "example", "firstname": "example", "lastname": "example", "phone": "example", "email": "example", "reference_code": "example", "kind": "example", "external_id": "example", "revoke_note": "example", "ticket_type": { "id": "example", "name": "example", "price": "example", "price_satangs": "example", "kind": "example" }, "price_label": "example", "forms": [ "example" ], "created_at": "example", "updated_at": "example", "used_at": "example", "registered_at": "example" }}Unauthorized - Invalid token
Ticket not found - Invalid event ID, reference code, or organizer mismatch