example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #452

Apr
2
Thu

Strategy Workshop

11:26 PM – 1:45 AM

Conference Room A

Voluptatem decor verus non ad acsi delinquo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 452,
  "ownerUserId": 185,
  "title": "Strategy Workshop",
  "description": "Voluptatem decor verus non ad acsi delinquo.",
  "startAt": "2026-04-02T23:26:16.672Z",
  "endAt": "2026-04-03T01:45:58.310Z",
  "isAllDay": false,
  "location": "Conference Room A",
  "attendeeUserIds": [
    21
  ],
  "createdAt": "2026-05-02T00:40:09.497Z",
  "updatedAt": "2026-05-08T22:31:22.411Z"
}