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.
name and domain are required. The endpoint matches existing companies by:
| Identifier | Description |
|---|---|
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.
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.
Company name.
Company website domain (e.g. lemlist.com). Used as a unique key for upsert matching.
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.