example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #485

Mar
24
Tue

Off-site Planning

12:08 AM – 4:16 AM

Conference Room B

Mollitia perferendis aperte altus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 485,
  "ownerUserId": 199,
  "title": "Off-site Planning",
  "description": "Mollitia perferendis aperte altus.",
  "startAt": "2026-03-24T00:08:45.888Z",
  "endAt": "2026-03-24T04:16:06.108Z",
  "isAllDay": false,
  "location": "Conference Room B",
  "attendeeUserIds": [],
  "createdAt": "2026-02-25T21:29:13.381Z",
  "updatedAt": "2026-04-21T18:44:22.367Z"
}