Reference / Sinks

List sink deliveries

list_sink_deliveriesocmgr sink deliveriesGET /v1/sink-deliveriesREAD

What each sink actually wrote, and what it could not. One row per (sink, event) — that pair is unique, which is what makes a replayed event, a re-enqueued job and two workers racing converge on one upsert — carrying the subject it was about (a member, or a derived organisation), the action that ran, the record’s id over there, the attempt count and the vendor’s own reason for anything that did not go. This is the first call when somebody says the CRM is stale: a wall of skipped is a mapping or an account that is wrong and will stay wrong, which is a different problem from an empty list.

Parameters

sincestring (date-time)

Only deliveries updated at or after this instant; orders by updated time, newest first, then id. Without it, orders by creation time. Pages are a live view, not a snapshot.

offsetinteger0–9007199254740991

Number of matching deliveries to skip (default 0). Apply the same filters to subsequent pages.

sink_idstringup to 200 chars

Only this sink’s deliveries, by id or by name.

member_idstring (uuid)

Everything sent about one person. Merged ids follow to the survivor.

organisation_idstring (uuid)

Everything sent about one derived organisation.

status"pending" | "sent" | "skipped" | "failed"

Only deliveries in this state. skipped is the first thing to ask for when somebody says the CRM is stale.

held_erasuresboolean

Only erasures awaiting admin confirmation, refused by the vendor, or needing a reconnect, the ones close_sink_erasure can close.

limitinteger1–200

How many to return, 1–200. Defaults to 25.

CLI flags

--sink <id>

Only this sink’s deliveries

--member <id>

Everything written about one person

--organisation <id>

Everything written about one derived organisation

--status <status>

pending, sent, skipped or failed

--held-erasures

Only erasures awaiting admin confirmation, a vendor repair or a reconnect

--since <iso>

Only deliveries updated at or after this instant, newest update first

--offset <n>

Matching deliveries to skip (default 0; live view, not a snapshot)

--limit <n>

Page size (default 25, max 200)

Also in Sinks