Skip to Content
Integrations

Event log

Poll for MCP events after a cursor instead of receiving webhooks.

Integrations1 endpointKen-Version: 2026-11-02AuthenticationWorkspacesErrors
MarkdownOpenAPI

Headers

The endpoints on this page take these headers. Each endpoint's curl shows the ones it sends.

NameInTypeRequiredDescription
Ken-Versionheaderstring, one of: 2026-11-02, 1.1optionalThe API version, a date in YYYY-MM-DD form. 1.1 is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and 404 where the path exists only in this version. A date that is not a version answers 400 unsupported_version; any other value that is not a version is treated as legacy.
X-Ken-Workspace-Idheaderinteger (int64)optionalThe id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers 400 workspace_required. A workspace you are not a member of answers 404 not_found.

Poll events after a cursor

GET/v1/event-occurrencesevent-occurrences.poll
Permission
Any workspace member except a Network member
Rate limit
12,000 requests a minute per API key

Try it on developer.ken.so

Returns the events logged after your cursor and the cursor to send on the next poll.

Start without cursor. Kenso then returns no events and a cursor at the current time, and starts logging events for the workspace. Every poll keeps the log running for another 7 days. Send the returned cursor back unchanged on the next poll.

types is a comma-separated list of event types. Omit it to get every type you can receive. campaignId and classification filter the events that carry those fields. limit is from 1 to 100, default 50. maxAgeMs skips events older than that many milliseconds instead of returning them, and the response then has truncated: true.

When hasMore is true, poll again right away. Otherwise wait nextPollMs milliseconds. Events older than 7 days are gone from the log.

Errors:

  • 400 validation_failed: limit, maxAgeMs, classification or cursor is invalid.
  • 400 unsupported: a type in types is not in the event log.
  • 403 forbidden: you cannot see the page of a type in types.
  • 404 not_found: event polling is not on for the workspace, or a type in types is unknown.

Open to any workspace member.

Parameters

NameInTypeRequiredDescription
cursorquerystringoptionalThe cursor of the previous poll, unchanged. Omitted: Kenso returns no events and a cursor at the current time.
typesquerystringoptionalA comma-separated list of event types, such as reply.received,meeting.booked. Omitted: every type you can receive.
campaignIdqueryinteger (int64)optionalOnly events of this campaign.
classificationquerystringoptionalOnly events with this reply classification, such as interested.
limitqueryinteger (int32)optionalEvents per poll, from 1 to 100. Default 50.
maxAgeMsqueryinteger (int64)optionalSkip events older than this many milliseconds instead of returning them. Ignored without a cursor.
Request
curl -X GET "https://api.ken.so/v1/event-occurrences?limit=50" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"

Response 200

data is a EventOccurrences.

Show the 5 response fields and an example

The fields and an example are also on this endpoint's Markdown page.


On this page