---
title: "Create Company"
method: POST
path: "/v1/public/companies"
tags: ["Companies"]
---

# Create Company

`POST /v1/public/companies`

## Request body

- PublicCompanyRequest
  - `external_id` string, nullable
  - `name` string, nullable
  - `address` string, nullable
  - `email` string, nullable
  - `phone_number` string, nullable
  - `url` string, nullable
  - `status` string, nullable
  - `allowed_in_store` boolean, nullable

## Response `200`

OK

- PublicCompanyResponse
  - `ok` boolean, required
  - `status` string, required
  - `external_id` string, nullable
  - `company_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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