---
title: "Creates a new company and associates it with the user"
method: POST
path: "/v1/resourceowner/companies"
tags: ["ResourceOwnerCompany"]
---

# Creates a new company and associates it with the user

`POST /v1/resourceowner/companies`

## Request body

- CompanyCreateModel
  - `RegisteredCompanyName` string, required
  - `RegistrationNumber` string
  - `Description` string
  - `CreateRelationshipToContactId` integer, required

## Response `200`

A link in the header is returned to the newly created company

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
