Skip to main content
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 userIds array) 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

string (UUID)
required
The unique identifier of the lead list to add companies to.

Body Parameters

array
required
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

string (UUID)
required
Unique identifier for the lead list.
string (UUID) | null
required
The ID of the associated Ideal Customer Profile, or null if not linked.
string
required
The display name of the lead list.
string
required
The type of leads in this list. Will be "company" for lists that accept companies.
string
required
ISO 8601 timestamp for the campaign start date.
string
required
ISO 8601 timestamp for the campaign end date.
array
required
Array of person/lead IDs. Will be empty for company-type lists.
array
required
Array of company UUIDs in the list, including the newly added companies.
array
required
Array of user IDs with access to this lead list.
string
required
ISO 8601 timestamp of when the lead list was created.
string
required
ISO 8601 timestamp of when the lead list was last updated.
array
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:
string (UUID)
Unique identifier for the company.
string
The company name.
The company’s legal name.
string | null
Company description.
string | null
Short company summary.
string | null
The company’s primary domain.
string | null
The company’s industry classification.
string | null
Employee headcount range (e.g., "51-200", "1001-5000").
string | null
Revenue range (e.g., "$10M-$50M").
number | null
The year the company was founded.
string | null
Company headquarters city.
string | null
Company headquarters country.
string | null
Company headquarters postal code.
string | null
URL to the company’s LinkedIn page.
string | null
The company’s website URL.
string | null
URL to the company’s logo image.
array
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