Skip to main content
POST
/
api
/
v1
/
entities
/
leadlists
/
{id}
/
add-prospects
{
  "prospects": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "firstName": "John",
      "lastName": "Smith",
      "jobTitle": "VP of Sales",
      "city": "San Francisco",
      "country": "United States",
      "linkedinUrl": "https://www.linkedin.com/in/johnsmith",
      "emails": ["john.smith@example.com"],
      "phones": ["+1-555-123-4567"],
      "companyId": "660e8400-e29b-41d4-a716-446655440001",
      "seniority": "vp",
      "departments": ["sales"],
      "functions": ["business_development"]
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "firstName": "Jane",
      "lastName": "Doe",
      "jobTitle": "Marketing Director",
      "city": "New York",
      "country": "United States",
      "linkedinUrl": "https://www.linkedin.com/in/janedoe",
      "emails": ["jane.doe@example.com"],
      "phones": [],
      "companyId": "660e8400-e29b-41d4-a716-446655440002",
      "seniority": "director",
      "departments": ["marketing"],
      "functions": ["marketing"]
    }
  ]
}
{
  "addedCount": 15
}
Adds prospects to an existing lead list. This endpoint supports two modes of operation:
  1. Direct Data Mode: Provide full prospect data objects directly
  2. Bulk Selection Mode: Provide a selection payload that references prospects from a search result
The endpoint automatically handles syncing prospects from the global database to the tenant database before adding them to the list.

Authentication

This endpoint requires authentication. The user must be signed in and have access to the target lead list.
Only users listed in the lead list’s userIds array (or admin users) can add prospects to the list.
This endpoint only works with person-type lead lists. Attempting to add prospects to a company-type list will result in an error.

Request

Path Parameters

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

Body Parameters

The request body accepts one of two formats:

Option 1: Direct Prospect Data

prospects
array
required
Array of person objects to add to the lead list. Each person object contains the prospect’s complete profile data.

Option 2: Bulk Selection

selection
object
required
A bulk selection payload that describes which prospects to add based on a previous search.

Request Examples

{
  "prospects": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "firstName": "John",
      "lastName": "Smith",
      "jobTitle": "VP of Sales",
      "city": "San Francisco",
      "country": "United States",
      "linkedinUrl": "https://www.linkedin.com/in/johnsmith",
      "emails": ["john.smith@example.com"],
      "phones": ["+1-555-123-4567"],
      "companyId": "660e8400-e29b-41d4-a716-446655440001",
      "seniority": "vp",
      "departments": ["sales"],
      "functions": ["business_development"]
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "firstName": "Jane",
      "lastName": "Doe",
      "jobTitle": "Marketing Director",
      "city": "New York",
      "country": "United States",
      "linkedinUrl": "https://www.linkedin.com/in/janedoe",
      "emails": ["jane.doe@example.com"],
      "phones": [],
      "companyId": "660e8400-e29b-41d4-a716-446655440002",
      "seniority": "director",
      "departments": ["marketing"],
      "functions": ["marketing"]
    }
  ]
}

Response

Returns an object indicating how many prospects were added to the lead list.
addedCount
integer
required
The number of prospects that were successfully added to the lead list. This excludes any prospects that were already in the list.

Response Examples

{
  "addedCount": 15
}

Error Codes

Status CodeError CodeDescription
400BAD_REQUESTRequest body validation failed. Check the details field for specific field errors.
401UNAUTHORIZEDUser is not authenticated or organization ID is missing.
403FORBIDDENUser does not have access to the specified lead list.
404NOT_FOUNDThe specified lead list does not exist.
500INTERNAL_ERRORAn unexpected server error occurred.

Behavior Notes

Prospects that already exist in the lead list are automatically skipped. The addedCount in the response reflects only newly added prospects.
When adding prospects, the system automatically copies person records from the global database to the tenant’s database. This ensures data isolation between organizations.
This endpoint only works with person-type lead lists (type: "person"). For company-type lists, use the /add-companies endpoint instead.
The maximum number of prospects that can be selected in bulk mode is 1,000. For larger selections, make multiple API calls.