example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #327

Jul
23
Thu

Board Meeting

11:08 AM – 1:14 PM

Cafeteria

Sulum odio thesis venia abutor balbus adeo corrupti textus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 327,
  "ownerUserId": 136,
  "title": "Board Meeting",
  "description": "Sulum odio thesis venia abutor balbus adeo corrupti textus.",
  "startAt": "2026-07-23T11:08:42.320Z",
  "endAt": "2026-07-23T13:14:14.348Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    184,
    162,
    190,
    50
  ],
  "createdAt": "2026-05-07T11:02:32.390Z",
  "updatedAt": "2026-05-13T08:52:19.530Z"
}