example-data.com
Menu
Browse docs and collections

event-rsvps

event-rsvps

Page 6 of 58.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/event-rsvps?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/event-rsvps?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/event-rsvps.d.ts https://example-data.com/types/event-rsvps.d.ts
import type { EventRsvp, ListEnvelope } from "./types/event-rsvps";

const res = await fetch(
  "https://example-data.com/api/v1/event-rsvps?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<EventRsvp>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/event-rsvps",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 121,
      "eventId": 12,
      "userId": 120,
      "status": "going",
      "respondedAt": "2025-12-03T14:53:36.971Z"
    },
    {
      "id": 122,
      "eventId": 12,
      "userId": 227,
      "status": "declined",
      "respondedAt": "2025-11-28T10:31:29.876Z"
    },
    {
      "id": 123,
      "eventId": 12,
      "userId": 168,
      "status": "going",
      "respondedAt": "2026-05-17T06:37:20.531Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 1378,
    "totalPages": 58
  },
  "links": {
    "self": "/api/v1/event-rsvps?page=6&limit=24",
    "first": "/api/v1/event-rsvps?page=1&limit=24",
    "last": "/api/v1/event-rsvps?page=58&limit=24",
    "next": "/api/v1/event-rsvps?page=7&limit=24",
    "prev": "/api/v1/event-rsvps?page=5&limit=24"
  }
}