Creates a new company or updates an existing one based on domain or LinkedIn URL.
domain, linkedinUrl, or linkedinUrlSalesNav already exists (upsert).
During updates, only non-empty fields are applied — null or empty values are ignored to preserve existing data.
| Identifier | Description |
|---|---|
companyId | Existing company ID — updates a specific company directly, bypassing domain/LinkedIn matching |
domain | Company website domain (e.g. lemlist.com) — primary unique key |
linkedinUrl | LinkedIn company page URL — alternative unique key |
linkedinUrlSalesNav | LinkedIn Sales Navigator company URL — alternative unique key |
domain, linkedinUrl, or linkedinUrlSalesNav already exists, the endpoint updates it instead of creating a duplicate.
When companyId is provided, the company is matched by its ID directly — name and domain are not required and are not used for matching (they are stored as data if provided). Without companyId, both name and domain remain required.
companyOwner field. Accepted formats:
| Format | Example |
|---|---|
| User ID | usr_2aB3cD4eF5gH6iJ7k |
| Team member email | john@yourcompany.com |
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Existing company ID. Updates a specific company by ID, bypassing domain/LinkedIn matching. Can only be used to update an existing company, not to create a new one. When provided, name and domain become optional.
Company name. Required unless companyId is provided.
Company website domain (e.g. lemlist.com). Used as a unique key for upsert matching. Required unless companyId is provided.
LinkedIn company page URL. Used as an alternative unique key for upsert matching.
LinkedIn Sales Navigator company URL. Used as an alternative unique key for upsert matching.
Owner of the company. Can be a user ID (e.g. usr_...) or a team member's email address. If the provided value does not match a team member, the owner defaults to the API key owner.
Industry sector of the company.
Geographic location of the company.
Company size.
Company specialties.
Company tagline.
Company type.
Company description.
Company founding date.
Company headquarters location.
URL of the company logo or picture.
Origin of the company record. Set on creation only and cannot be updated afterwards. Defaults to api.
Any additional key is treated as a custom field. Custom fields must be registered in the team's CRM field registry beforehand.