Skip to main content

Event types

An event includes its ID, type, resource ID, and creation time. For email.received, fetch resourceId with GET /v1/messages/{id}. For sms.received, use GET /v1/sms/{id}. The credential needs the corresponding read scope.

Poll events

GET /v1/events requires events:read and returns events oldest first. Resource grants also filter the feed.
Omit cursor on the first request to start at the earliest retained event. Limits range from 1 to 100, with a default of 25. Process each event, then persist its ID. On a nonempty page, nextCursor is a checkpoint even if no more events are currently available. On an empty page, keep the previous checkpoint even though nextCursor is null. Deduplicate by event ID after a restart. Wait between empty polls and back off on errors. The SDK iterators and MCP list_events read available events; they do not subscribe in the background.