Skip to main content
GET
/
:projectId
/
api
/
v7
/
events
/
:eventId
/
rsvps
Fetch Event RSVPs
curl --request GET \
  --url https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps
Returns a paginated list of EventRsvp records, each with the user populated — the named guest list. Results are ordered by createdAt descending. Authentication is optional. The event is first loaded behind the visibility predicate, so a caller without access to the event gets 404. The named list itself is then gated:
  • Hosts can always see it.
  • Any viewer (including anonymous) can see it when the event’s guestListVisible is true.
  • Service/master keys bypass the gate.
  • Otherwise the response is 403.
Aggregate RSVP counts are always public via the event’s rsvpCounts — this endpoint only governs the per-user list.

Path Parameters

eventId
string
required
UUID of the event.

Query Parameters

page
number
Page number (1-indexed). Defaults to 1.
limit
number
Results per page. Capped at 100. Defaults to 10.
status
string
Comma-separated RSVP statuses to filter by, e.g. "going,maybe". When omitted, all statuses are returned.

Response

Returns a paginated response: { data: EventRsvp[], pagination: {...} }.

Error Responses

{ "error": "Event not found", "code": "event/not-found" }
{ "error": "This event's guest list is not visible.", "code": "event/guest-list-hidden" }
See also: useFetchEventRsvps