---
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-15** `4e5abb8c5e22` — 2 breaking
  - removed the media type `application/json` from the request body
  - the `header` request parameter `x-pipeline` became required
- **2026-04-15** `2e101196e4f5` — 2 info
  - added the media type `application/json` to the request body
  - the `header` request parameter `x-pipeline` became optional
- **2026-04-14** `4e5abb8c5e22` — 2 breaking, 8 warning, 10 info
  - removed the enum value `incomplete` of the request property `oneOf[#/components/schemas/EofMessage]/eof/stream_progress/additionalProperties/status`
  - removed the enum value `incomplete` of the request property `oneOf[#/components/schemas/TraceMessage]/trace/oneOf[subschema #2]/stream_status/status`
  - added the new `auth_error` enum value to the `oneOf[#/components/schemas/EofMessage]/eof/stream_progress/additionalProperties/status` response property for the response status `200`
  - added the new `auth_error` enum value to the `oneOf[#/components/schemas/TraceMessage]/trace/oneOf[subschema #2]/stream_status/status` response property for the response status `200`
  - …16 more
- **2026-04-14** `fe381b9ff4bd` — 1 warning
  - removed the request property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/backfill_concurrency`
- …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/4e5abb8c5e22/schema)
