PPylon Developers
ApiListings

List published listings

Returns a paginated list of published listings for a tenant.

GET
/api/v1/listings
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
city?string
category?string
tag?string
dateFrom?string
Formatdate-time
dateTo?string
Formatdate-time
isFeatured?boolean

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/listings"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "title": "string",
      "slug": "string",
      "shortDescription": null,
      "imageUrl": null,
      "venueCity": "string",
      "category": null,
      "startsAt": "2019-08-24T14:15:22Z",
      "priceFrom": 0.1,
      "priceCurrency": "string",
      "priceDescription": null,
      "externalUrl": null,
      "pylonEventId": null,
      "status": "string",
      "isFeatured": true,
      "sortOrder": 0
    }
  ],
  "meta": {
    "totalCount": 0,
    "page": 0,
    "pageSize": 0,
    "totalPages": 0,
    "hasNext": true,
    "hasPrevious": true
  },
  "links": null
}
{
  "code": "string",
  "message": "string"
}