example-data.com
Menu
Browse docs and collections

event-rsvps

event-rsvps

Page 35 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": 817,
      "eventId": 91,
      "userId": 156,
      "status": "going",
      "respondedAt": "2025-08-18T11:18:42.507Z"
    },
    {
      "id": 818,
      "eventId": 91,
      "userId": 65,
      "status": "going",
      "respondedAt": "2025-06-14T13:34:45.049Z"
    },
    {
      "id": 819,
      "eventId": 91,
      "userId": 58,
      "status": "maybe",
      "respondedAt": "2025-08-13T11:23:41.386Z"
    }
  ],
  "meta": {
    "page": 35,
    "limit": 24,
    "total": 1378,
    "totalPages": 58
  },
  "links": {
    "self": "/api/v1/event-rsvps?page=35&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=36&limit=24",
    "prev": "/api/v1/event-rsvps?page=34&limit=24"
  }
}