example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #340

Apr
7
Tue

Team Lunch

6:00 AM – 6:00 AM

Main Boardroom

Sublime solus armarium sumo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 340,
  "ownerUserId": 141,
  "title": "Team Lunch",
  "description": "Sublime solus armarium sumo.",
  "startAt": "2026-04-07T06:00:09.892Z",
  "endAt": "2026-04-08T06:00:09.892Z",
  "isAllDay": true,
  "location": "Main Boardroom",
  "attendeeUserIds": [
    204,
    103,
    121
  ],
  "createdAt": "2026-05-09T22:13:04.006Z",
  "updatedAt": "2026-05-21T09:20:17.017Z"
}