example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #187

Feb
22
Sun

Team Lunch

4:44 PM – 4:44 PM

Main Boardroom

Vesper pariatur spero pauper vicissitudo acquiro decens at adeptio.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/calendar-events/187" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/187"
);
const calendarEvent = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/calendar-events.d.ts https://example-data.com/types/calendar-events.d.ts
import type { CalendarEvent } from "./types/calendar-events";

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/187"
);
const calendarEvent = (await res.json()) as CalendarEvent;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/calendar-events/187"
)
calendar_event = res.json()

Response

{
  "id": 187,
  "ownerUserId": 82,
  "title": "Team Lunch",
  "description": "Vesper pariatur spero pauper vicissitudo acquiro decens at adeptio.",
  "startAt": "2026-02-22T16:44:50.877Z",
  "endAt": "2026-02-23T16:44:50.877Z",
  "isAllDay": true,
  "location": "Main Boardroom",
  "attendeeUserIds": [
    221,
    23
  ],
  "createdAt": "2026-02-25T12:35:14.787Z",
  "updatedAt": "2026-04-08T04:36:06.567Z"
}