example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #503

Aug
8
Sat

Sales Call

2:33 AM – 5:56 AM

Cafeteria

Ventosus basium compello qui adopto sortitus curatio consuasor confido.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 503,
  "ownerUserId": 209,
  "title": "Sales Call",
  "description": "Ventosus basium compello qui adopto sortitus curatio consuasor confido.",
  "startAt": "2026-08-08T02:33:32.426Z",
  "endAt": "2026-08-08T05:56:33.604Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    20,
    9
  ],
  "createdAt": "2026-04-03T11:10:43.601Z",
  "updatedAt": "2026-04-18T23:14:57.051Z"
}