Skip to main content
Fetch Event 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 viewer is the signed-in user, or the user a service key names in actingUserId; a service key naming nobody is treated as anonymous, with no bypass. 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.
  • 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

string
required
UUID of the event.

Query Parameters

string
Service key only: the user to read as, exactly as their own access token: their event visibility and whether they host it. Leave it out for the anonymous view (a public event’s list, and only when guestListVisible is true). A user token always acts as its own user and must not send it, and neither may a request with no credentials (400 event/acting-user-not-allowed).
number
Page number (1-indexed). Defaults to 1.
number
Results per page. Capped at 100. Defaults to 10.
string
Comma-separated RSVP statuses to filter by, e.g. "going,maybe": any of going, maybe and not-going, matched exactly (another case returns 400 event/invalid-query; not_going returns 400 event/unsupported-param). When omitted, all statuses are returned.

Response

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

Error Responses

Returned for an invalid query value, such as a status entry that isn’t exactly going, maybe or not-going. error starts with the field name.
A status entry was not_going. Not going is not-going.
A user token, or a request with no credentials, sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
See also: useFetchEventRsvps