example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #543

Jul
11
Sat

Board Meeting

4:19 PM – 10:37 PM

Conference Room A

Socius derideo coepi adicio confero cruciamentum perferendis.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/543"
);
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/543"
);
const calendarEvent = (await res.json()) as CalendarEvent;

Python example

import requests

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

Response

{
  "id": 543,
  "ownerUserId": 227,
  "title": "Board Meeting",
  "description": "Socius derideo coepi adicio confero cruciamentum perferendis.",
  "startAt": "2026-07-11T16:19:12.877Z",
  "endAt": "2026-07-11T22:37:42.237Z",
  "isAllDay": false,
  "location": "Conference Room A",
  "attendeeUserIds": [
    111,
    3
  ],
  "createdAt": "2026-03-08T15:23:30.883Z",
  "updatedAt": "2026-04-27T00:58:15.882Z"
}