---
title: "Create a company entity (Stadtwerk/Konzernverbund)"
method: POST
path: "/api/company/companies"
tags: ["Companies"]
---

# Create a company entity (Stadtwerk/Konzernverbund)

`POST /api/company/companies`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/company/companies`
- Auth: none declared

## Query parameters

- `token` string

## Request body

- object
  - `displayName` string, required
  - `legalName` string
  - `members` object[]
    - `bdewCode` string
    - `role` 'VNB' | 'ÜNB' | 'MSB' | 'Lieferant' | 'BKV' | 'Direktvermarkter' | 'other'
    - `legalEntity` string
    - `mastrId` string
  - `autoDiscover` boolean
  - `autoConfirm` boolean
  - `query` string: Search term for autoDiscover (e.g. company name)
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Successful response

- object

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
