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

tourId
string

The unique identifier for the tour. Must be a 24-character hexadecimal string.

tourSlug
string

The SEO-friendly slug for the tour. Accepts alphanumeric characters, hyphens, underscores, and periods.

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.

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.

Response

Successful response containing statistics for the specified tour.

id
string

Unique identifier for the event or tour.

name
string

Name of the event or tour.

ticket_statistics
object