# addCompany (/api/reference/mutations/add-company)

Add a company to the workspace's leads or clients, or class one it already holds. The workspace keeps one company per name: a name it already has (matched as a job's hiring company is, ignoring case and spacing) is that company, never a second one, and a client is never made a lead. A repeat returns the same company with `wasCreated` false, and details sent as null or left out never overwrite what it holds.

```graphql
addCompany(
  input: AddCompanyInput!
): AddCompanyPayload!
```

### Arguments [#arguments]

#### [`addCompany.input`](#input) · [`AddCompanyInput!`](/api/reference/inputs/add-company-input) `non-null` `input` [#input]
The company to add, and what it is to the workspace.

### Type [#type]

#### [`AddCompanyPayload`](/api/reference/objects/add-company-payload) `object` [#addcompanypayload-object]
The company that was added or matched.