---
title: "POST /topics/{topicname}/partitions/{partitionid}"
method: POST
path: "/topics/{topicname}/partitions/{partitionid}"
tags: ["Topics", "Producer"]
---

# POST /topics/{topicname}/partitions/{partitionid}

`POST /topics/{topicname}/partitions/{partitionid}`

Sends one or more records to a given topic partition, optionally specifying a key.

## Query parameters

- `async` boolean

## Response `200`

Records sent successfully.

## Other responses

- `404` — The specified topic partition was not found.
- `422` — The record is not valid.

## Changes

> 52 revisions in range; 38 could not be searched.

- **2026-05-20** `b8205c8ab4cb` — 6 breaking, 6 info
  - removed `subschema #1, subschema #2, subschema #3` from the `records/items/key` request property `oneOf` list (media type: application/vnd.kafka.json.v2+json)
  - removed `subschema #1, subschema #2, subschema #3` from the `records/items/key` request property `oneOf` list (media type: application/vnd.kafka.binary.v2+json)
  - removed `subschema #1, subschema #2, subschema #3` from the `records/items/key` request property `oneOf` list (media type: application/vnd.kafka.text.v2+json)
  - removed `subschema #1, subschema #2, subschema #3, subschema #4` from the `records/items/value` request property `oneOf` list (media type: application/vnd.kafka.json.v2+json)
  - …8 more
- **2019-05-21** `c10758b73ea6` — 2 breaking, 1 warning, 4 info
  - removed the request body
  - removed the media type `application/vnd.kafka.v2+json` for the response with the status `200`
  - deleted the `query` request parameter `async`
  - api tag `Producer` removed
  - …3 more

[Change history](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/changes/topics/:topicname/partitions/:partitionid/post.md)

---

[API](https://skmtc.dev/strimzi/apis/http-bridge-api-reference.md) · [All operations](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/strimzi/http-bridge-api-reference/revisions/1cc83c2d9990/schema)
