PPylon Developers
ApiTickets

List current user's tickets

Returns a paginated list of tickets for the currently authenticated user.

GET
/api/v1/tickets
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Query Parameters

page?integer
Default1
Formatint32
pageSize?integer
Default20
Formatint32
sort?string
q?string
status?unknown
Value in"Valid" | "CheckedIn" | "Refunded" | "Voided" | null
upcomingOnly?boolean
Defaultfalse

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/tickets"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "ticketNumber": "string",
      "status": "string",
      "eventName": "string",
      "sessionName": "string",
      "sessionStartAt": "2019-08-24T14:15:22Z",
      "seatLabel": null,
      "checkedInAt": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "totalCount": 0,
    "page": 0,
    "pageSize": 0,
    "totalPages": 0,
    "hasNext": true,
    "hasPrevious": true
  },
  "links": null
}
{
  "code": "string",
  "message": "string"
}