---
title: "POST /consumers/{groupid}"
method: POST
path: "/consumers/{groupid}"
tags: ["Consumers"]
---

# POST /consumers/{groupid}

`POST /consumers/{groupid}`

Creates a consumer instance in the given consumer group. You can optionally specify a consumer name and supported configuration options. It returns a base URI which must be used to construct URLs for subsequent requests against this consumer instance.

## Response `200`

Consumer created successfully.

## Other responses

- `409` — A consumer instance with the specified name already exists in the Kafka Bridge.
- `422` — One or more consumer configuration options have invalid values.

## Changes

- **2019-10-01** `8924330f6f21` — 1 info
  - request body became optional
- **2019-09-07** `e37a8445e9d1` — 3 breaking
  - the `consumer.request.timeout.ms` request property type/format changed from `string`/`` to `integer`/``
  - the `enable.auto.commit` request property type/format changed from `string`/`` to `boolean`/``
  - the `fetch.min.bytes` request property type/format changed from `string`/`` to `integer`/``
- **2019-06-11** `a660d0be34bf` — 1 warning, 1 info
  - removed the request property `auto.commit.enable`
  - added the new optional request property `enable.auto.commit`
- **2019-05-27** `574cafef42d9` — 1 breaking, 4 info
  - added required request body
  - api tag `Consumers` added
  - added the media type `application/vnd.kafka.v2+json` for the response with the status `200`
  - added the non-success response with the status `409`
  - …1 more
- **2019-05-21** `c10758b73ea6` — 2 breaking, 3 info
  - removed the request body
  - removed the media type `application/vnd.kafka.v2+json` for the response with the status `200`
  - api tag `Consumers` removed
  - removed the non-success response with the status `409`
  - …1 more

[Change history](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/changes/consumers/:groupid/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/6fa041660d32/schema)
