Skip to main content
GET
/
statistics
/
events
Retrieve statistics for events by status
curl --request GET \
  --url https://private-api.tixyapp.com/statistics/events \
  --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

status
enum<string>

The status of the events to retrieve sales report for. If not specified, it defaults to all. Valid values are:

  • all: Fetch sales report for all events.
  • published: Fetch sales report for events currently published.
  • pastdue: Fetch sales report for events whose dates have passed.
Available options:
all,
published,
pastdue
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 events matching the specified status.

id
string

Unique identifier for the event or tour.

name
string

Name of the event or tour.

ticket_statistics
object