Fetch Event RSVPs
curl --request GET \
--url https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvpsimport requests
url = "https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEvent Endpoints
Fetch Event RSVPs
List the named guest list (who RSVP’d) for an event
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/rsvpsimport requests
url = "https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sublay.io/api/v6/:projectId/api/v7/events/:eventId/rsvps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyReturns a paginated list of EventRsvp records, each with the
See also: useFetchEventRsvps
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
guestListVisibleistrue. - Service/master keys bypass the gate.
- Otherwise the response is
403.
rsvpCounts — this endpoint only governs the per-user list.
Path Parameters
string
required
UUID of the event.
Query Parameters
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". When omitted, all statuses are returned.Response
Returns a paginated response:{ data: EventRsvp[], pagination: {...} }.
Error Responses
Not Found / No Access — 404
Not Found / No Access — 404
{ "error": "Event not found", "code": "event/not-found" }
Guest List Hidden — 403
Guest List Hidden — 403
{ "error": "This event's guest list is not visible.", "code": "event/guest-list-hidden" }

