List events
API version 2026-10-affable-towhee
get https://api.getlingara.com/v1/events
Returns the events your client can see, a page at a time, oldest first. Send next_cursor back as cursor to continue.
Scopes events:read
Parameters
Lingara-Versionheaderstringoptional- The API version to answer this request under. Without it, an access token gets the version its client is pinned to, and a request with no token gets the current version. The version still in development is reached only by naming it here. An unknown version answers
400with codeapi_version_unknown.GET /v1/versionslists the versions. cursorquerystringoptional- Where to continue from: an earlier page's
next_cursor, or a stream event'sid:. A cursor older than 30 days answers410with codecursor_expired. startquerystringoptional- Where to begin without a cursor:
latestfor events from now on, oroldestfor every event still kept. typesqueryarray of stringoptional- Only these event types, comma-separated. Without it, every type your token's scopes can read.
limitqueryintegeroptional- The most events one page returns, from 1 to 100.
Responses
200 A page of events and the cursor to continue from
itemsarray of EventEnveloperequiredidstringrequiredtypestringrequiredcreated_atstringrequiredapi_versionstringrequiredsubjectstringrequireddataobjectrequired
next_cursorstringrequiredhas_morebooleanrequired
Errors
410application/jsonapi_version_discontinued: this request's API version has been discontinued.cursor_expired: the cursor is older than 30 days; start again without one.4XXapplication/json- The request was refused.
codesays why, anderrorsays it in words. 503application/json · text/plain- The service is temporarily unavailable; retry after the number of seconds in
Retry-After. During maintenance the body is plain text rather than the error envelope. 5XXapplication/json- The request was refused.
codesays why, anderrorsays it in words.
codestringrequiredWhy the request was refused, as a stable code to branch on: for example
insufficient_scope(403),rate_limited(429) and, for a metered client,spend_cap_reached(402) andmetered_billing_inactive(402).errorstringrequired
Example
curl "https://api.getlingara.com/v1/events" \
-H "Authorization: Bearer $LINGARA_TOKEN"