example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #385

Jun
28
Sun

Off-site Planning

4:30 AM – 10:33 AM

Aperio amplus conscendo cohaero admoveo usitas amo viduo accusator.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 385,
  "ownerUserId": 157,
  "title": "Off-site Planning",
  "description": "Aperio amplus conscendo cohaero admoveo usitas amo viduo accusator.",
  "startAt": "2026-06-28T04:30:31.034Z",
  "endAt": "2026-06-28T10:33:45.003Z",
  "isAllDay": false,
  "location": null,
  "attendeeUserIds": [
    38
  ],
  "createdAt": "2026-04-01T09:31:33.355Z",
  "updatedAt": "2026-05-02T13:20:39.206Z"
}