---
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

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/companies`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

## 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.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
