example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #342

May
10
Sun

Team Lunch

2:45 AM – 2:45 AM

Main Boardroom

Amor cunabula aequitas abbas assumenda vitium totam curis.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 342,
  "ownerUserId": 141,
  "title": "Team Lunch",
  "description": "Amor cunabula aequitas abbas assumenda vitium totam curis.",
  "startAt": "2026-05-10T02:45:03.323Z",
  "endAt": "2026-05-11T02:45:03.323Z",
  "isAllDay": true,
  "location": "Main Boardroom",
  "attendeeUserIds": [
    243,
    10,
    197
  ],
  "createdAt": "2026-03-28T14:24:40.100Z",
  "updatedAt": "2026-05-08T10:42:21.965Z"
}