Use this file to discover all available pages before exploring further.
Organisers are a distinct account type in TktPlz with their own schema and role (organiser). The organiser API covers account creation, a dashboard summary aggregating tickets and revenue across all their events, per-event analytics, banking detail management for payouts, and a QR code scanner for validating attendee entry.
Creates a new organiser account. This endpoint does not require an OTP — it is intended for direct account provisioning (e.g. by an admin). For self-service registration use the auth flow at POST /api/auth/orgn-reg.
Returns an aggregated dashboard summary for an organiser: cumulative tickets sold, gross revenue, total event count, pending payout amounts, per-event revenue breakdown, and a ticket detail list joined with user information.
Revenue figures come from the payouts table for events that have a payout record. For events without a payout yet, revenue is summed from CONFIRMED ticket totalAmount values.
Summarised event list with id, name, type, sub_type, scheduleStart, scheduleEnd, totalBookings, totalRevenue, verificationStatus, posterUrl, city, state, and createdAt.
Returns detailed ticket analytics for a single event. For completed events (isCompleted = true), data is sourced from the payouts.allTicketsDetails JSON column. For ongoing events, data is fetched live from the tickets table joined with users.
Validates a QR code scanned at the venue. The server verifies the HMAC-SHA256 hash, checks that the ticket is CONFIRMED and has not already been used (qr_status is "unused"), confirms the event has not ended, and then marks the ticket as CHECKED_IN.