example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #351

Jun
26
Fri

Security Training

4:27 AM – 12:07 PM

Rooftop

Conscendo aduro culpa deludo brevis.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 351,
  "ownerUserId": 144,
  "title": "Security Training",
  "description": "Conscendo aduro culpa deludo brevis.",
  "startAt": "2026-06-26T04:27:22.787Z",
  "endAt": "2026-06-26T12:07:41.889Z",
  "isAllDay": false,
  "location": "Rooftop",
  "attendeeUserIds": [
    208,
    226,
    233,
    72,
    221
  ],
  "createdAt": "2026-03-06T14:27:36.406Z",
  "updatedAt": "2026-05-10T14:59:08.758Z"
}