---
title: "Create a company"
url: "https://docs.unified.to/crm/company/Create_a_company"
description: "API reference for Create a company. Launch multiple pre-built Company integrations today with zero maintenance — all through a single API."
generated_at: "2026-05-20T23:11:38.559Z"
---
# Create a company

 POST/crm/{connection\_id}/company

## Parameters

**fields**string array 

id

created\_at

updated\_at

name

deal\_ids

contact\_ids

emails

telephones

websites

address

is\_active

tags

description

industry

link\_urls

employees

timezone

user\_id

metadata

domains

raw

Fields to return

**raw**string 

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

**connection\_id**string  required 

ID of the connection

## Payload

A company represents an organization that optionally is associated with a deal and/or contacts

**id**string 

Unique identifier for this company object

**created\_at**date 

The date that this company object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**updated\_at**date 

The last date that this company object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**name**string 

The name of the company

**deal\_ids**string array 

An array of deal IDs associated with this contact

**contact\_ids**string array 

An array of contact IDs associated with this company

**emails** array 

**telephones** array 

**websites**string array 

**address**object 

**is\_active**boolean 

**tags**string array 

**description**string 

**industry**string 

**link\_urls**string array 

Additional URLs associated with the contact e.g., LinkedIn, website, etc

**employees**number 

**timezone**string 

**user\_id**string 

(reference to HrisEmployee)

**metadata** array 

**domains**string array 

**raw**any 

The raw data returned by the integration for this company

## Returns

[CrmCompany](/crm/company/model)

A company represents an organization that optionally is associated with a deal and/or contacts

**id**string 

Unique identifier for this company object

**created\_at**date 

The date that this company object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**updated\_at**date 

The last date that this company object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**name**string 

The name of the company

**deal\_ids**string array 

An array of deal IDs associated with this contact

**contact\_ids**string array 

An array of contact IDs associated with this company

**emails** array 

**telephones** array 

**websites**string array 

**address**object 

**is\_active**boolean 

**tags**string array 

**description**string 

**industry**string 

**link\_urls**string array 

Additional URLs associated with the contact e.g., LinkedIn, website, etc

**employees**number 

**timezone**string 

**user\_id**string 

(reference to HrisEmployee)

**metadata** array 

**domains**string array 

**raw**any 

The raw data returned by the integration for this company

## Code Samples

### Node.js SDK

```
import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({
    security: {
        jwt: '<YOUR_API_KEY_HERE>',
    },
});

const connectionId = '5de520f96e439b002043d8dc';

const results = await sdk.crm.createCrmCompany({ connectionId, crmCompany: { }, 
    fields: '',
    raw: '',
 });
```

### Node.js (axios)

```
const options = {
  method: 'POST',
  url: 'https://api.unified.to/crm/5de520f96e439b002043d8dc/company',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
```

### Java

```
AsyncHttpClient client = new DefaultAsyncHttpClient();

client.prepare("POST", "https://api.unified.to/crm/5de520f96e439b002043d8dc/company?fields=&raw=")
  .setHeader("accept", "application/json")
  .setHeader("authorization", ".....")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
```

### Go

```
import (
	"fmt"
	"net/http"
	"io/ioutil"
)

url := `https://api.unified.to/crm/5de520f96e439b002043d8dc/company?fields=&raw=

req, _ := http.NewRequest("POST", url, nil)

req.Header.Add("accept", "application/json")
req.Header.Add("authorization", ".....")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
```

### Python

```
import requests

url = "https://api.unified.to/crm/5de520f96e439b002043d8dc/company?fields=&raw="

headers = {
    "accept": "application/json",
    "authorization": "....."
}

response = requests.post(url, headers=headers)
```

### PHP

```
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.unified.to/crm/5de520f96e439b002043d8dc/company?fields=&raw=",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: ....."
  ],
]);
```

### Ruby

```
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://api.unified.to/crm/5de520f96e439b002043d8dc/company?fields=&raw=")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["accept"] = 'application/json'
request["authorization"] = '....'

response = http.request(request)
puts response.read_body
```

### cURL

```
curl --request POST \
  --url 'https://api.unified.to/crm/5de520f96e439b002043d8dc/company?fields=&raw=' \
  --header 'accept: application/json' \
  --header 'authorization: .....'
```
