Events

List event slugs

Changed on

List current event slugs with the same filters and access rules as event lists. Supports skip/limit pagination for sitemap generation.

get/events/slugs

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Query parameters

status, 'UPCOMING' | 'ENDED'

Filter events by their current lifecycle status

Example:UPCOMING
approval, 'PENDING' | 'APPROVED' | 'REJECTED'

Filter events by their approval status

Example:APPROVED
visibility, 'PUBLIC' | 'PRIVATE' | 'SCHEDULED' | 'PASSCODE'

Filter events by their visibility setting

Example:PUBLIC
promoterId, string

Filter events to only those belonging to a specific promoter. If not provided, returns events from all promoters the user has access to

Example:pmt_01jqpjksnsen9vprw95et60t2m
teamId, string

Filter events to only those belonging to a specific team. If not provided, returns events from all teams the user has access to

venueId, string

Filter events to only those at a specific venue. If not provided, returns events at all venues

query, string

Search term to filter events by name, description, or location. Triggers full‑text search when provided

Example:Test Event
latitude, number

Latitude coordinate for geographic search. Provide with longitude (and optional radius)

Example:-33.8944593
longitude, number

Longitude coordinate for geographic search. Provide with latitude (and optional radius)

Example:151.2252255
radius, number

Search radius in kilometers from the provided coordinates. Defaults to 20km

Example:20
country, string

Filter by country region slug. Matches events where location.country equals the region name

Example:australia
state, string

Filter by state/province region slug. Matches events where location.state equals the region name

Example:nsw
city, string

Filter by city region slug. Matches events where location.city equals the region name

Example:sydney
from, string date

Filter events that start on or after this date (YYYY-MM-DD format). Events with entryStartsAt >= from

Example:2024-01-01
to, string date

Filter events that start on or before this date (YYYY-MM-DD format). Events with entryStartsAt <= to

Example:2024-12-31
sort, 'entryStartsAt' | 'distance' | 'createdAt'

Optional list sort field. Defaults to event start time. Use distance with latitude and longitude to return nearest events first, or createdAt to return newest or oldest events first.

Example:entryStartsAt
direction, 'asc' | 'desc'

Sort direction for event start or creation time. Defaults to lifecycle-aware event start order; distance sorting always returns nearest events first.

Example:desc
genres, string[]

Filter events by music genre(s). Returns events matching ANY of the provided genres (OR logic). Maximum 20 genres

[
  "Tech House",
  "Melodic Techno"
]
categories, string[]

Filter events by category(s). Returns events matching ANY of the provided categories (OR logic). Maximum 10 categories

[
  "Day Party",
  "Open Air"
]
featured, boolean

Filter to only featured (editorial pick) events

Example:true
limit, integer

Maximum number of event slugs to return. Must be between 1 and 1000, defaults to 1000

Example:1000
skip, integer

Number of matching event slugs to skip before returning results

Response

OK

object required
slugs, string[] required

Current event slugs for the matching event list

skip, integer required

Number of matching event slugs skipped

limit, integer required

Maximum number of event slugs returned

Example response

{
  "limit": 1000
}

Changes

    • breaking

      for the query request parameter from, the format changed from no format to date

    • breaking

      for the query request parameter limit, the type changed from number to integer

    • breaking

      for the query request parameter skip, the type changed from number to integer

    18 more changes in this revision