---
title: "Write records to destination"
method: POST
path: "/pipeline_write"
tags: ["Stateless Sync API"]
---

# Write records to destination

`POST /pipeline_write`

Reads NDJSON messages from the request body and writes them to the destination. Pipe /read output as input.

## Response `200`

NDJSON stream of write result messages

## Other responses

- `400` — Invalid params

## Changes

- **2026-04-14** `fe381b9ff4bd` — 1 warning
  - removed the request property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/backfill_concurrency`
- **2026-04-14** `d3793a0f62fc` — 2 warning
  - removed the request property `oneOf[#/components/schemas/EofMessage]/eof/record_count`
  - removed the optional property `oneOf[#/components/schemas/EofMessage]/eof/record_count` from the response with the `200` status
- **2026-04-14** `678ceced690e` — 2 info
  - added the new optional request property `oneOf[#/components/schemas/EofMessage]/eof/state`
  - added the optional property `oneOf[#/components/schemas/EofMessage]/eof/state` to the response with the `200` status
- **2026-04-14** `94093fe7df85` — 2 breaking, 6 info
  - removed `subschema #2` from the `oneOf[#/components/schemas/TraceMessage]/trace` request property `oneOf` list
  - added `subschema #2, subschema #4` to the `oneOf[#/components/schemas/TraceMessage]/trace` response property `oneOf` list for the response status `200`
  - added the new optional request property `oneOf[#/components/schemas/EofMessage]/eof/global_progress`
  - added the new optional request property `oneOf[#/components/schemas/EofMessage]/eof/stream_progress`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/stripe/apis/stripe-sync-engine/changes/pipeline_write/post.md)

---

[API](https://skmtc.dev/stripe/apis/stripe-sync-engine.md) · [All operations](https://skmtc.dev/stripe/apis/stripe-sync-engine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stripe/stripe-sync-engine/revisions/fe381b9ff4bd/schema)
