example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #45

May
10
Sun

Team Lunch

6:16 PM – 10:04 PM

Microsoft Teams

Abbas curriculum audentia.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 45,
  "ownerUserId": 23,
  "title": "Team Lunch",
  "description": "Abbas curriculum audentia.",
  "startAt": "2026-05-10T18:16:27.340Z",
  "endAt": "2026-05-10T22:04:20.494Z",
  "isAllDay": false,
  "location": "Microsoft Teams",
  "attendeeUserIds": [
    75,
    121,
    24,
    174
  ],
  "createdAt": "2026-03-27T15:32:03.981Z",
  "updatedAt": "2026-04-18T00:04:09.119Z"
}