example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #511

Jul
3
Fri

Team Lunch

1:10 PM – 7:59 PM

Talis iure consequatur amissio coadunatio confero antiquus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 511,
  "ownerUserId": 213,
  "title": "Team Lunch",
  "description": "Talis iure consequatur amissio coadunatio confero antiquus.",
  "startAt": "2026-07-03T13:10:49.832Z",
  "endAt": "2026-07-03T19:59:06.809Z",
  "isAllDay": false,
  "location": null,
  "attendeeUserIds": [
    121,
    156
  ],
  "createdAt": "2026-04-16T23:41:31.009Z",
  "updatedAt": "2026-05-18T17:10:18.913Z"
}