example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #493

Mar
16
Mon

Team Lunch

11:18 PM – 11:18 PM

Sublime virtus ipsam magnam celer sulum creber.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 493,
  "ownerUserId": 202,
  "title": "Team Lunch",
  "description": "Sublime virtus ipsam magnam celer sulum creber.",
  "startAt": "2026-03-16T23:18:27.165Z",
  "endAt": "2026-03-17T23:18:27.165Z",
  "isAllDay": true,
  "location": null,
  "attendeeUserIds": [
    21,
    234
  ],
  "createdAt": "2026-04-23T14:03:05.289Z",
  "updatedAt": "2026-05-01T09:17:02.138Z"
}