TreasurySpring Event Checkpoints API
Server-managed cursors for stateless event stream consumers.In most cases, checkpoints are not needed. If your system can persist data locally (e.g. in a database, file, or key-value store), store the `cursor` value from `GET /event` yourself and pass it as `start_cursor` on the next request.**When to use checkpoints:**Use this endpoint if your system runs in an environment that cannot reliably persist state between invocations — for example, a stateless function, a script with no backing store, or a system that delegates position tracking to TreasurySpring entirely.A checkpoint is a named record stored server-side that remembers where your last successful sync run ended. Instead of storing the cursor yourself, you store it here and retrieve it at the start of each sync run:1. **Create** a checkpoint once: `PUT /event/checkpoint/{name}` — the cursor is initialised to the current end of the event stream.2. **Read** the checkpoint at the start of each sync run: `GET /event/checkpoint/{name}` → `cursor`, `checkpointVersion`.3. **Fetch events** from that cursor: `GET /event?start_cursor={cursor}`.4. **Advance** the checkpoint after successful processing: `PATCH /event/checkpoint/{name}` with `expectedCheckpointVersion` and `newCursor`. The `checkpointVersion` acts as a safety check — if another process has already advanced the checkpoint since you last read it, the request returns a 409 Conflict with the current state so you can reconcile before retrying.Checkpoints are scoped to the authenticated API user.
TreasurySpring Event Checkpoints API is one of 13 APIs that TreasurySpring publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Event Checkpoints. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 5 operations across 2 paths, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version v0.7.3.
Requests are made against 2 base URLs: https://api.treasuryspring.com/api/v1, https://api.sandbox.treasuryspring.com/api/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
TreasurySpring Event Checkpoints API declares
2 security schemes
for authenticating requests.
It accepts HTTP basic authentication (basicAuth).
It accepts HTTP bearer tokens (bearerAuth).
basicAuth— Base64-encoded clientid:clientsecret (sent as Authorization: Basic ). Used by the OAuth token-exchange endpoint.bearerAuth— API Key or OAuth access token (sent as Authorization: Bearer ).
Paths & Operations 5
Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Server-managed cursors for stateless event stream consumers. In most cases, checkpoints are not needed. If your system can persist data locally (e.g. in a database, file, or key-v…
Schemas 9
The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are CheckpointData (5 properties), DeleteCheckpointResponse (2 properties), UpsertCheckpointResponse (2 properties), CheckpointRef (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from TreasurySpring 12
Other APIs TreasurySpring publishes across the network.
This is an independent, third-party profile of TreasurySpring Event Checkpoints API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.