Lead Lists
Add Companies to Lead List
Adds one or more companies to an existing company-type lead list
POST
Adds companies to an existing lead list. The companies are automatically copied from the global database to the tenant database before being added to the list. Duplicate company IDs are filtered out automatically.
Authentication
This endpoint requires authentication. The user must:- Be signed in with a valid organization
- Have access to the lead list (be in the
userIdsarray) OR be an admin user
This endpoint only works with lead lists of type
"company". Attempting to
add companies to a person-type list will result in a validation error.Request
Path Parameters
The unique identifier of the lead list to add companies to.
Body Parameters
Array of company UUIDs to add to the lead list. Must contain at least one
valid UUID. Validation: - Each ID must be a valid UUID format - Array must
contain at least one company ID - Duplicate IDs within the request are allowed
(they will be deduplicated) - Companies already in the list are automatically
filtered out
Request Examples
Response
On success, returns the updated lead list with all companies populated.Lead List Fields
Unique identifier for the lead list.
The ID of the associated Ideal Customer Profile, or
null if not linked.The display name of the lead list.
The type of leads in this list. Will be
"company" for lists that accept
companies.ISO 8601 timestamp for the campaign start date.
ISO 8601 timestamp for the campaign end date.
Array of person/lead IDs. Will be empty for company-type lists.
Array of company UUIDs in the list, including the newly added companies.
Array of user IDs with access to this lead list.
ISO 8601 timestamp of when the lead list was created.
ISO 8601 timestamp of when the lead list was last updated.
Array of populated company objects. Only present for company-type lists.
Company Object Fields
When the list type is"company", each company object in the companies array contains the full company record:
Unique identifier for the company.
The company name.
The company’s legal name.
Company description.
Short company summary.
The company’s primary domain.
The company’s industry classification.
Employee headcount range (e.g.,
"51-200", "1001-5000").Revenue range (e.g.,
"$10M-$50M").The year the company was founded.
Company headquarters city.
Company headquarters country.
Company headquarters postal code.
URL to the company’s LinkedIn page.
The company’s website URL.
URL to the company’s logo image.
Array of phone numbers for the company.
Response Examples
Behavior Notes
Duplicate Handling
- If any of the provided company IDs already exist in the lead list, they are automatically filtered out
- Only new companies are added to the list
- If all provided companies already exist, the endpoint returns
{ "addedCount": 0 }instead of the full list
Tenant Data Sync
Companies are automatically copied from the global database to the tenant database before being added to the list. This ensures data consistency across the multi-tenant architecture.Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 200 | - | Companies added successfully (or all already existed) |
| 400 | BAD_REQUEST | Request validation failed. Check message for details (invalid UUID format, empty array, or wrong list type). |
| 401 | UNAUTHORIZED | User is not authenticated or organization ID is missing. |
| 403 | FORBIDDEN | User does not have access to this lead list. |
| 404 | NOT_FOUND | The specified lead list does not exist. |
| 500 | INTERNAL_ERROR | An unexpected server error occurred. |