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

# POST /api/companies

`POST /api/companies`

## Request

- Base URL: `https://saasrock.com` (the document declares no server; this is the origin it was published from)
- URL: `https://saasrock.com/api/companies`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer

Create a new Company

## Request body

- object
  - `name` string
  - `address` string
  - `phone` string
  - `source` string
  - `logo` object[]
    - `title` string
    - `name` string
    - `file` string
    - `type` string

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

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