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

# POST /topics/{topicname}

`POST /topics/{topicname}`

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

## Query parameters

- `async` boolean

## Response `200`

Records sent successfully.

## Other responses

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

## Changes

- **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
- **2025-05-29** `426d9b9215e9` — 3 breaking, 6 info
  - the request property `records/items/value` became not nullable (media type: application/vnd.kafka.json.v2+json)
  - the request property `records/items/value` became not nullable (media type: application/vnd.kafka.binary.v2+json)
  - the request property `records/items/value` became not nullable (media type: application/vnd.kafka.text.v2+json)
  - request property `records/items/value` list-of-types was widened by adding types `null` to media type `application/vnd.kafka.binary.v2+json`
  - …5 more
- …earlier changes not shown

[Full history](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/changes/topics/:topicname/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)
