PeumeAPI

Social publishing & inbox

List events in a window

Recurring series are expanded into their occurrences inside the window by default. `expandRecurring=false` lists the masters instead, including series that started before `from` and still recur in the window.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/list-events-in-a-window \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "from": "your from",
    "to": "your to",
    "showCancelled": false,
    "expandRecurring": true,
    "sortOrder": "asc"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: list-events-in-a-window.

Parameters

accountIdRequiredstring

The connected Google, Microsoft or IMAP account.

calendarIdstring

Defaults to the primary calendar.

fromRequiredstring
toRequiredstring
titlestring
locationstring
showCancelledboolean

Example: false

expandRecurringboolean

Example: true

icalUidstring
sortOrderstring

Order by start time across the whole window. On Google, `desc` reads the window in full, so a window over 2,500 events answers 400; narrow `from` and `to`.

asc · desc

Example: asc

cursorstring
limitinteger

Example: 50

timezonestring

IANA zone the `start` and `end` offsets are rendered in. Default UTC.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.