Skip to content

Create Company

POST
/companies

Create a company.

domain is required; the company is deduped by domain (an existing company with the same domain is reused rather than duplicated). Returns the company_id (mashup_companies.id) — pass it to g8_update_contact/company_id to attach the company to a contact, or use it on a deal. Optionally add the company to a list via list_id.

Routes to the same production CreateCompanyHandler the in-app “add company” flow uses (dedups, generates COMPANY_ID, creates the ABM/CRM overlay so the company is immediately pickable on a Deal).

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Request body for creating a company.

domain is required — it drives dedup (an existing company with the same domain is reused, not duplicated) and the Deals company picker. Every other field is optional.

object
address
Any of:
string
city
Any of:
string
country
Any of:
string
domain
required

Company domain, e.g. acme.com (required)

string
employee_count
Any of:
string
industry
Any of:
string
linkedin_url
Any of:
string
list_id
Any of:
integer
name
Any of:
string
phone
Any of:
string
state
Any of:
string
website
Any of:
string
zip
Any of:
string

Responses

201

Successful Response

object
data
required
object
company_id
Any of:
integer
merged
boolean
status
required
string
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string