generate_calendar_invite — Generate RFC 5545 Calendar Invite & Deep Links

Compiles a strict RFC 5545 / RFC 5546 .ics invite (PUBLISH, REQUEST with RSVP attendees, or CANCEL) with UTF-8 code-point-safe 75-octet CRLF folding, IANA VTIMEZONE blocks, and Google/Outlook/Yahoo/data-URI calendar links.

Why buy vs. DIY: Eliminates multi-byte UTF-8 folding corruption, DST VTIMEZONE bugs, and Outlook CRLF rejections in <5ms for $0.001.

Pricing: $0.001 USD per generated .ics invite + deep-link bundle (x402 instant micropayment) · REST: POST https://calendar-ics.apikeg.com/v1/generate-calendar-invite · MCP: https://calendar-ics.apikeg.com/mcp

Input Parameters

FieldTypeRequired / DefaultDescription & Constraints
uid string Optional Stable globally unique event identifier. Reuse the same UID with an incremented `sequence` to update or cancel an invite. (minLength: 1, maxLength: 512)
title string Required Event summary/title (supports emojis, CJK, and accented characters). (minLength: 1, maxLength: 500)
description string Optional Plain-text meeting agenda or description. (maxLength: 16000)
location string Optional Physical venue address, conference room, or virtual link. (maxLength: 1000)
conferencingUrl string Optional Video meeting join URL (e.g., Zoom, Google Meet, Microsoft Teams). (maxLength: 2048)
start string Required Start time in ISO 8601 UTC (2026-07-15T14:00:00Z), local wall-clock ISO paired with `timezone` (2026-07-15T10:00:00), or YYYY-MM-DD for `allDay: true`. (minLength: 8, maxLength: 64)
end string Optional Optional end timestamp or non-inclusive end date (YYYY-MM-DD for all-day). Overrides `durationMinutes` when provided. (minLength: 8, maxLength: 64)
durationMinutes integer Optional Duration in minutes when `end` is omitted (defaults to 60 minutes, or 1 day for all-day events). (min: 1, max: 525600)
allDay boolean Optional When true, emits RFC 5545 `VALUE=DATE` (`YYYYMMDD`) all-day boundaries.
timezone string Optional IANA timezone identifier (e.g., "America/New_York", "Europe/London", "Asia/Tokyo"). Compiles an accurate RFC 5545 VTIMEZONE block and TZID-qualified timestamps. (minLength: 2, maxLength: 128)
method string Default: "PUBLISH" iTIP method: PUBLISH (standalone event), REQUEST (RSVP meeting invite; requires `organizer`), or CANCEL (cancellation update). (enum: PUBLISH | REQUEST | CANCEL)
sequence integer Optional Revision sequence number (defaults to 0, or 1 when method is CANCEL). (min: 0, max: 999999)
status string Optional Event status (defaults to CANCELLED when method=CANCEL, CONFIRMED otherwise). (enum: CONFIRMED | TENTATIVE | CANCELLED)
organizer object Optional Calendar organizer identity (required when method is REQUEST).
attendees array Optional List of invited participants. (maxItems: 200)
rrule string Optional Optional RFC 5545 recurrence rule (e.g., "FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=12"). (minLength: 5, maxLength: 512)
alarmMinutesBefore integer Optional Optional display reminder offset in minutes prior to event start (emits a VALARM block). (min: 0, max: 40320)

REST Example (curl)

curl -X POST "https://calendar-ics.apikeg.com/v1/generate-calendar-invite" \
  -H "Content-Type: application/json" \
  -d '{
  "uid": "demo-sync-001@acme.io",
  "title": "Architecture Sync 🚀",
  "description": "Review Q3 edge latency benchmarks, rollout checklist, and SLOs.",
  "location": "Zoom / Room 4B",
  "conferencingUrl": "https://zoom.us/j/123456789",
  "start": "2026-07-15T10:00:00",
  "durationMinutes": 45,
  "timezone": "America/New_York",
  "method": "REQUEST",
  "organizer": {
    "name": "Alice Chen",
    "email": "alice@acme.io"
  },
  "attendees": [
    {
      "name": "Bob Patel",
      "email": "bob@client.org",
      "role": "REQ-PARTICIPANT",
      "rsvp": true
    }
  ],
  "alarmMinutesBefore": 15
}'

MCP tools/call Payload

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "generate_calendar_invite",
    "arguments": {
      "uid": "demo-sync-001@acme.io",
      "title": "Architecture Sync 🚀",
      "description": "Review Q3 edge latency benchmarks, rollout checklist, and SLOs.",
      "location": "Zoom / Room 4B",
      "conferencingUrl": "https://zoom.us/j/123456789",
      "start": "2026-07-15T10:00:00",
      "durationMinutes": 45,
      "timezone": "America/New_York",
      "method": "REQUEST",
      "organizer": {
        "name": "Alice Chen",
        "email": "alice@acme.io"
      },
      "attendees": [
        {
          "name": "Bob Patel",
          "email": "bob@client.org",
          "role": "REQ-PARTICIPANT",
          "rsvp": true
        }
      ],
      "alarmMinutesBefore": 15
    }
  }
}