example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #426

Mar
30
Mon

Onboarding Session

9:47 PM – 12:16 AM

Conference Room A

Natus terror strues supra.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 426,
  "ownerUserId": 174,
  "title": "Onboarding Session",
  "description": "Natus terror strues supra.",
  "startAt": "2026-03-30T21:47:20.852Z",
  "endAt": "2026-03-31T00:16:00.954Z",
  "isAllDay": false,
  "location": "Conference Room A",
  "attendeeUserIds": [
    138,
    10,
    98,
    99
  ],
  "createdAt": "2026-05-03T00:03:33.662Z",
  "updatedAt": "2026-05-14T05:06:16.936Z"
}