Skip to main content
GET
Query events

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

originType
enum<string>
default:community

Origin type of the event

  • community - Event created in a community
  • user - Event created on a user profile
Available options:
community,
user
originId
string

ID of the origin (community ID, or user ID when originType is user)

userId
string

Filter events by creator user ID (admin only or the user themselves)

onlyAttendee
boolean
default:false

Return only events the specified userId hosts or has RSVP'd to as going / interested. Requires the userId parameter — returns 400 without it.

excludeOwnEvents
boolean
default:false

Exclude events created by the calling user

status
enum<string>

Event status. When omitted, non-admin callers default to scheduled; admin callers get every status.

  • scheduled - Event is scheduled
  • live - Event is currently live
  • ended - Event has ended
  • cancelled - Event is cancelled
Available options:
scheduled,
live,
ended,
cancelled
type
enum<string>

Filter events by type

Available options:
virtual,
in_person
tags
string[]

Event tags for categorization

Maximum array length: 5
Maximum string length: 100
startTimeGte
string<date-time>

Filter events with start time greater than or equal to this value

startTimeLte
string<date-time>

Filter events with start time less than or equal to this value

sortBy
enum<string>
default:startTime

Sort order for events

Available options:
startTime,
createdAt
orderBy
enum<string>
default:asc

Sort direction (ascending or descending)

Available options:
asc,
desc
options[limit]
integer
default:20

Page size

Required range: 1 <= x <= 100
options[token]
string

Pagination token

options[before]
string

Cursor value to get records before

options[after]
string

Cursor value to get records after

Response

Events retrieved successfully

events
object[]
users
object[]
files
object[]
communities
object[]
posts
object[]
rooms
object[]
paging
object