Skip to Content

List events

You're viewing API version 2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.
GET
/api/v1/events

Returns every event the workspace emitted in the last 30 days, newest-first, whether or not a webhook was subscribed to it. The payload is the same object a webhook delivery carries.

Pagination is keyset: follow nextCursor until it is null. New events arriving while you page never shift the window, so a full walk with since set to your last known timestamp is a complete reconcile even though webhooks are delivered at least once.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Query Parameters

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
events*array<>
hasNextPage*boolean
nextCursor*|

Cursor for the next page, or null on the last page. Pass it as cursor on the next request.

Example Request
curl -X GET 'https://app.sajn.se/api/v1/events?perPage=25' \  -H 'authorization: string'
Example Response
{  "events": [    {      "id": "string",      "event": "DOCUMENT_CREATED",      "payload": null,      "createdAt": null    }  ],  "hasNextPage": true,  "nextCursor": "string"}

Was this page helpful?