Lists the events of the connected Google Calendar in a time window, with attendees, locations and meeting links.
curl -X POST "https://api.primaryapi.com/v1/run/calendar.events" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"timeMin":"2026-11-09T00:00:00Z","timeMax":"2026-11-16T00:00:00Z","limit":10}'{
"output": {
"found": true,
"data": {
"timeZone": "Europe/London",
"nextCursor": null,
"events": [
{
"allDay": false,
"status": "confirmed",
"summary": "Quarterly planning",
"description": "Agenda: the Q4 numbers", …
}
]
}
},
"credits": 1
}Input and output
8 fields
2026-11-09T00:00:00Z.2026-11-16T00:00:00Z.10.16 fields
Good to know
Runs as your connected Google account (read-only Calendar access).
Recurring events are expanded into single occurrences. Sorted by start time.
One page per call. Send nextCursor back as cursor to read the next page.
The same key and credits work for every API.