---
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-05** `1ea267682268` — 1 breaking, 52 info
  - request property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/api_version` was restricted to a list of enum values
  - the `api_version` request property const value `2026-03-25.dahlia` was removed
  - added the new `2017-08-15` enum value to the request property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/api_version`
  - added the new `2017-12-14` enum value to the request property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/api_version`
  - …49 more
- **2026-04-05** `db172f650b83` — 2 breaking, 4 warning, 10 info
  - removed `#/components/schemas/StateMessage` from the request body `oneOf` list
  - added `#/components/schemas/SourceStateMessage` to the response body `oneOf` list for the response status `200`
  - removed the request property `oneOf[#/components/schemas/ControlMessage]/control/config`
  - removed the request property `oneOf[#/components/schemas/ControlMessage]/control/control_type`
  - …12 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/8aee5636331b/schema)
