example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #546

Mar
2
Mon

Hiring Interview

5:31 AM – 9:59 AM

Conference Room A

Valens utrimque neque tondeo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 546,
  "ownerUserId": 228,
  "title": "Hiring Interview",
  "description": "Valens utrimque neque tondeo.",
  "startAt": "2026-03-02T05:31:23.372Z",
  "endAt": "2026-03-02T09:59:28.521Z",
  "isAllDay": false,
  "location": "Conference Room A",
  "attendeeUserIds": [],
  "createdAt": "2026-03-05T15:34:23.921Z",
  "updatedAt": "2026-04-21T20:51:11.827Z"
}