List venues with cursor-based pagination
Changed onReturns venues with cursor pagination. Supports filtering by team, location-based search, and text query
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Query parameters
Filter venues by owner team ID
Filter venues by approval status. PENDING: awaiting review, APPROVED: can be used for events, REJECTED: cannot be used
Optional search query for filtering venues by name or slug
Latitude for location-based search. Must be used with longitude
Longitude for location-based search. Must be used with latitude
Search radius in kilometers (1-20000). Requires latitude and longitude
Optional list sort field. Use createdAt to return newest or oldest venues first.
Sort direction for venue lists. Defaults to desc when sort is provided.
Maximum number of venues to return per request (1-100, default: 20)
Pagination cursor from previous response. Used to fetch next page of results
Response
OK
Paginated response containing venues with cursor for next page
Array of venues for the current result set
Cursor for navigating backward in the result set. Omitted when there are no prior results.
Cursor for navigating forward in the result set. Omitted when there are no subsequent results.
Maximum number of items to return in each result set
Example response
{
"venues": [
{
"locationId": "loc_01h2xk3j9k8m2n5p7q9r1s3t4v",
"googlePlaceId": "ChIJP3Sa8ziYEmsRUKgyFmh9AQM",
"approval": "APPROVED",
"image": {
"src": "https://assets.session.services/my-image.jpg",
"alt": "My Image",
"width": 1080,
"height": 1080
},
"location": {
"id": "loc_01hk153x00eh99pagyydz03sbz",
"googlePlaceId": "ChIJP3Sa8ziYEmsRUKgyFmh9AQM",
"createdAt": "2026-12-02T02:43:23.597Z",
"updatedAt": "2026-12-02T02:43:23.597Z",
"name": "Watson's EQ",
"address": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
"city": "Moore Park",
"state": "New South Wales",
"postcode": "2021",
"country": "Australia",
"latitude": -33.8944593,
"longitude": 151.2252255,
"timeZone": "Australia/Sydney",
"types": [
"establishment",
"point_of_interest",
"stadium"
],
"description": "Historic outdoor amphitheater known for summer concerts",
"image": {
"src": "https://assets.session.services/my-image.jpg",
"alt": "My Image",
"width": 1080,
"height": 1080
}
}
}
],
"before": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNqIn19",
"after": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNkIn19",
"limit": 20
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - warning
for the
queryrequest parametercursor, the maxLength was set to768 - warning
for the
queryrequest parameterquery, the maxLength was set to120
13 more changes in this revision
- breaking