Create companies in bulk
POST /v2/companies/batch
Parameters
Header parameters
apps/rest-api/src/shared/idempotency.ts for the full contract. Missing → 400 BadRequest; same key + different body → 409 Conflict.Request body
Content-Type: application/json
nullExample
{
"companies": [
{
"name": "string"
}
]
}
Responses
201 — Created
Content-Type: application/json
"upload", "auto", "dismissed"Example
{
"data": {
"companies": [
{
"id": "00000000-0000-0000-0000-000000000000",
"user_id": "string",
"workspace_id": "00000000-0000-0000-0000-000000000000",
"assignee_id": "string",
"name": "string",
"description": "string",
"linkedin_description": "string",
"logo_url": "string",
"logo_source": "upload",
"logo_source_domain": "string",
"website_url": "string",
"linkedin_slug": "string",
"facebook_slug": "string",
"x_slug": "string",
"instagram_slug": "string",
"headquarters_location": "string",
"country_code": "string",
"email": "string",
"phone_number": "string",
"arr_estimate": 0,
"number_of_employees": 0,
"linkedin_data": {
"industry": "string",
"company_type": "string"
},
"ignore_merge": false,
"name_is_placeholder": false,
"archived_at": "2026-11-13T08:29:48.843Z",
"created_at": "2026-11-13T08:29:48.843Z",
"updated_at": "2026-11-13T08:29:48.843Z",
"companies_custom_fields": [
{
"custom_field_id": "00000000-0000-0000-0000-000000000000",
"text_value": "string",
"array_value": [
null
],
"date_value": "2026-11-13T08:29:48.843Z",
"member_user_id": "string",
"number_value": 0,
"boolean_value": false
}
],
"companies_custom_fields_contacts": [
{
"custom_field_id": "00000000-0000-0000-0000-000000000000",
"linked_contact_id": "00000000-0000-0000-0000-000000000000"
}
],
"companies_custom_fields_companies": [
{
"custom_field_id": "00000000-0000-0000-0000-000000000000",
"linked_company_id": "00000000-0000-0000-0000-000000000000"
}
],
"tag_ids": [
"00000000-0000-0000-0000-000000000000"
]
}
]
}
}
400 — Request body failed validation.
Content-Type: application/json
401 — Missing or invalid API key.
Content-Type: application/json
403 — Valid key, insufficient permission.
Content-Type: application/json
404 — Resource does not exist.
Content-Type: application/json
409 — Request conflicts with the current state of the resource.
Content-Type: application/json
429 — Rate limit exceeded.
Content-Type: application/json
500 — Unexpected server error.
Content-Type: application/json
Code samples
curl https://api.prod.getdex.com/v2/companies/batch \
--request POST \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header "Idempotency-Key: $(uuidgen 2>/dev/null || python3 -c 'import uuid;print(uuid.uuid4())')" \
--header 'Content-Type: application/json' \
--data '{
"companies": [
{
"name": "string"
}
]
}'
fetch('https://api.prod.getdex.com/v2/companies/batch', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': crypto.randomUUID(),
'Content-Type': 'application/json'
},
body: JSON.stringify({
companies: [
{
name: 'string'
}
]
})
})
import uuid
requests.post(
"https://api.prod.getdex.com/v2/companies/batch",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": str(uuid.uuid4()),
"Content-Type": "application/json"
},
json={
"companies": [
{
"name": "string"
}
]
}
)
Count a company's title changes
Count the title changes `GET /v2/companies/{companyId}/title-changes` pages through: those of every active contact with any role at the company. 404 `record_not_found` when the company is not in the w
Create a company
Create a company in the workspace. `name` is required (1-150 characters, trimmed); names need not be unique. `website_url` is stored as typed, with `https://` added when no scheme is given; another co

