---
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-21** `c19b0d0a0631` — 1 warning, 2 info
  - removed the request property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/max_concurrent_streams`
  - the request property `oneOf[#/components/schemas/StreamStatusMessage]/stream_status/oneOf[subschema #1]/time_range/gte` became optional
  - the request property `oneOf[#/components/schemas/StreamStatusMessage]/stream_status/oneOf[subschema #1]/time_range/lt` became optional
- **2026-04-20** `98cef0c30f36` — 1 breaking
  - the `header` request parameter `x-pipeline` became required
- **2026-04-20** `f65cba437180` — 1 breaking
  - added the new required request property `oneOf[#/components/schemas/EofMessage]/eof/status`
- **2026-04-20** `66a8ac47e72b` — 1 warning, 1 info
  - removed the request property `oneOf[#/components/schemas/EofMessage]/eof/ending_state/sync_run/sync_run_id`
  - added the new optional request property `oneOf[#/components/schemas/EofMessage]/eof/ending_state/sync_run/run_id`
- **2026-04-20** `1e719ad9a31f` — 1 breaking
  - removed the media type `application/json` from the request body

[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/c19b0d0a0631/schema)
