Reference / Sinks

Send selected records to a sink

send_to_sinkocmgr sink sendPOST /v1/sinks/{id}/sendADMIN

Queue 1–500 selected members or organisations for a verified, enabled sink. Admin only. First use dry_run to inspect the target and eligible count, ask the user to confirm that external write, then pass confirm: true. Writes that reach the CRM or warehouse cannot be recalled. The existing sync sweep submits durable upserts to sync.deliver on its minute sweeps; the live mapping, filter and personal-data gate apply at delivery. No test cooldown. Pass event_id for event-driven actions; idempotency_key separates workflows or retries. Completed retries return the first result with replayed and, when inputs changed, input_differed. A dry run writes nothing and contacts no external system.

Parameters

sinkstringREQUIRED

The sink id or name.

organisation_idsstring[]up to 500

Organisation ids or keys; live aliases resolve to their canonical organisation.

member_idsstring (uuid)[]up to 500
idempotency_keystringup to 200 chars

Optional retry key (1–200 characters). Prefer event_id for event-driven actions; add this key only to distinguish workflows acting on the same event. Completed retries return the first result even if input changes, with replayed: true and input_differed: true when different. Retained for 30 days.

event_idstring (uuid)

Pass the event’s data.event_id on any action taken in response to an MCP event. Datum derives the retry key from workspace, tool, principal and event; add idempotency_key only to separate workflows. Unknown, foreign or erased events return NOT_FOUND.

confirmbooleandefault false

Confirm the target and count before setting true. Queues real writes to another system.

dry_runbooleandefault false

Return the plan without deliveries, receipts, audit writes or external calls; confirmation is not required.

CLI flags

--organisation <key...>

Organisation ids or keys (1–500)

--member <id...>

Member ids (1–500)

--confirm

Confirm sending these records to the named external system

--event-id <id>

Event data.event_id; derives a retry key

--idempotency-key <key>

Retry key or workflow discriminator (1–200 characters)

Also in Sinks