Sync (v2)

Changes since a cursor

get/api/v2/sync/changes

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v2/sync/changes
  • Auth: HTTP bearer

Query parameters

cursorinteger nullable

The last cursor the client saw; 0 or absent means from the start of the ledger.

Example:1200
per_pageinteger nullable

Page size, at most 50.

Example:50

Response

cursorinteger
next_cursorinteger
has_moreboolean
retention_daysinteger

Example response

{
  "cursor": 1200,
  "next_cursor": 1207,
  "has_more": false,
  "retention_days": 90,
  "changes": [
    {
      "kind": "trip",
      "external_id": "550e8400-e29b-41d4-a716-446655440000",
      "action": "upsert",
      "cursor": 1203,
      "at": "2026-10-11T22:00:00+00:00"
    },
    {
      "kind": "document",
      "external_id": "3f1c2b7a-5d4e-4c3b-9a8f-7e6d5c4b3a21",
      "action": "upsert",
      "cursor": 1205,
      "at": "2026-10-11T22:00:30+00:00"
    },
    {
      "kind": "budget",
      "external_id": "9b2d4c1e-0a7f-4d3b-8e6a-1f2c3d4e5f60",
      "action": "delete",
      "cursor": 1207,
      "at": "2026-10-11T22:01:00+00:00"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.