---
title: "Create Company"
method: POST
path: "/api/companies/"
tags: ["companies"]
---

# Create Company

`POST /api/companies/`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/`
- Auth: HTTP bearer

## Request body

- CompanyCreate
  - `name` string, required
  - `short_name` string, nullable
  - `country_id` integer, required
  - `custom_fields` object, nullable
  - `custom_prompts` object, nullable
  - `profile` object, nullable
  - `first_user` FirstUserCreate: Payload to create the first user when creating a company. Temporary password is always generated server-side; the user sets a new password on first sign-in (Cognito flow unchanged).
    - `name` string, required
    - `email` string, required
    - `phone_number` string, nullable

## Response `201`

Successful Response

- Company
  - `uuid` string, uuid4, required
  - `name` string, required
  - `short_name` string, nullable
  - `country_id` integer, nullable
  - `custom_fields` object, nullable
  - `custom_prompts` object, nullable
  - `config` object, nullable
  - `profile` object, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
