---
title: "Create a new company"
method: POST
path: "/v1/workspaces/{workspaceId}/companies"
tags: ["companies"]
---

# Create a new company

`POST /v1/workspaces/{workspaceId}/companies`

## Request

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

## Request body

- CreateCompanyDto
  - `name` string, required
  - `domain` string: Domain for auto-matching customer emails
  - `metadata` object

## Response `201`

Company created

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/82fc25ab859b?raw)
