Skip to main content
GET
/
statistics
/
event
Retrieve statistics for a specific event
curl --request GET \
  --url https://private-api.tixyapp.com/statistics/event \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "ticket_statistics": {
    "available": {
      "count": 123,
      "percentage": 123
    },
    "sold": {
      "count": 123,
      "percentage": 123
    },
    "reserved": {
      "count": 123,
      "percentage": 123
    },
    "unsold": {
      "count": 123,
      "percentage": 123
    },
    "returned": {
      "count": 123,
      "percentage": 123
    },
    "invitations": {
      "count": 123,
      "percentage": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Custom Bearer token authentication for accessing private organizer endpoints.

Query Parameters

eventId
string

The unique identifier for the event. Must be a 24-character hexadecimal string. Note: If you provide this parameter, do not provide eventSlug.

Pattern: ^[a-f0-9]{24}$
eventSlug
string

The SEO-friendly slug for the event. Accepts alphanumeric characters, hyphens, underscores, and periods. Note: If you provide this parameter, do not provide eventId.

Pattern: ^[a-zA-Z0-9-_\\.]+$
from
string

The from date in the range of dates for the request. Must be a 24-character hexadecimal string. Note: dates should be in the format YYYY-MM-DD. If not provided, defaults to the earliest date available.

Pattern: ^\d{4}-\d{2}-\d{2}$
to
string

The end date in the range of dates for the request. Must be a 24-character hexadecimal string. Note: dates should be in the format YYYY-MM-DD. If not provided, defaults to the current date.

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Successful response containing statistics for the specified event.

id
string

Unique identifier for the event or tour.

name
string

Name of the event or tour.

ticket_statistics
object