example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #255

May
22
Fri

Security Training

6:33 AM – 6:33 AM

Cafeteria

Quidem explicabo sapiente crustulum.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 255,
  "ownerUserId": 109,
  "title": "Security Training",
  "description": "Quidem explicabo sapiente crustulum.",
  "startAt": "2026-05-22T06:33:44.324Z",
  "endAt": "2026-05-23T06:33:44.324Z",
  "isAllDay": true,
  "location": "Cafeteria",
  "attendeeUserIds": [
    171,
    94,
    163
  ],
  "createdAt": "2026-04-05T08:00:38.739Z",
  "updatedAt": "2026-04-24T12:03:28.554Z"
}