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:
  • Any viewer (including anonymous) can see it when the event’s guestListVisible is true.
  • When it’s false: hosts who are active members of the event’s space and not banned in it or a space above it (any host, for an event with no space) and the space’s active admins and moderators can see it.
  • 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, whether they host it and whether they’re on the event’s space team. 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): a whole number, 1 or more. Defaults to 1. Any other value returns 400 event/invalid-query with param: "page".
number
Results per page: a whole number from 1 to 100. Defaults to 10. A larger value returns 400 event/invalid-query with param: "limit" (it is never lowered to 100), as does 0, a negative number or a value that isn’t a whole number. See Pagination.
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