Skip to content

Assert Companies Batch

PUT
/companies/assert/batch

Batch create or update up to 100 companies. Matches by domain, then linkedin_url.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

object
companies
required

Up to 100 companies with domain or linkedin_url

Array<object>
<= 100 items
object
key
additional properties
any
create_missing_fields

When true, any key in custom_fields that matches no existing column is created as a NEW list-scoped custom column (max 100 per request) and then written. Default false preserves the previous behaviour of not creating columns implicitly.

boolean
list_id
required

Target list ID

integer

Responses

200

Successful Response

object
data
required
object
created
integer
custom_fields

How a write path handled the request’s custom (dynamic) column keys.

Shared by every Developer API write surface that accepts custom columns (POST /contacts, PUT /contacts/assert[/batch], PUT /companies/assert[/batch]).

Every field defaults to empty, so a client that ignores this object sees no behavioural change. It exists because these keys were previously dropped with NO caller-visible signal — the only trace was a server-side logger.warning in append_to_audience.

object
created

Caller keys for which a NEW custom column was created by this request.

Array<string>
ignored

Caller keys that matched no custom column and were NOT written. Create the column first (POST /fields) or pass create_missing_fields=true.

Array<string>
written

Caller keys that resolved to a custom column and were written.

Array<string>
errors
Array<object>
default:
object
key
additional properties
any
total
required
integer
updated
integer
warnings

Advisory notes about values saved as sent that look wrong (e.g. an unrecognised seniority or country), prefixed with the row index. Empty when the input is clean.

Array<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
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

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