example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #400

May
16
Sat

Sales Call

4:39 PM – 8:22 PM

Cafeteria

Ullam debitis audentia custodia aro alias at solio vito.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 400,
  "ownerUserId": 164,
  "title": "Sales Call",
  "description": "Ullam debitis audentia custodia aro alias at solio vito.",
  "startAt": "2026-05-16T16:39:33.984Z",
  "endAt": "2026-05-16T20:22:55.857Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    85,
    126,
    166
  ],
  "createdAt": "2026-04-04T10:39:28.786Z",
  "updatedAt": "2026-04-18T03:37:14.657Z"
}