Get Leads by List
Lead Lists
Get Leads by List
Retrieve all leads (persons) or companies from a specific lead list by ID
GET
Get Leads by List
Returns the items contained in a lead list. The response type depends on the list’s
type field:
- For person-type lists: Returns an array of lead objects (persons with their associated company and CRM data)
- For company-type lists: Returns an array of company objects
Authentication
This endpoint requires authentication. The user must be signed in and have access to the requested lead list.Request
The unique identifier (UUID) of the lead list to retrieve
Response
The response structure varies based on the lead list type.Person-Type List Response
Returns an array of lead objects. Each lead is a person with their associated company and Bullhorn CRM data.Leads are filtered to only include those where the associated company has a
name. Leads without a valid company name are excluded from the response.
Array of lead objects (for person-type lists)
Company-Type List Response
Returns an array of company objects (same structure as the Company object nested within leads).Array of company objects (for company-type lists)
Response Examples
How It Works
- The endpoint authenticates the user via Clerk
- Retrieves the lead list by the provided ID
- Validates the user has access to the list (via
userIdsarray or admin status) - Based on the list’s
typefield:- Person lists: Fetches all persons with their associated company and Bullhorn CRM data (including tasks), filters to only include leads with a valid company name
- Company lists: Fetches all companies by their IDs from the list
- Returns the appropriate array of items
For person-type lists, the response includes Bullhorn CRM integration data
when available. The
clientContact object contains the Bullhorn client
contact record and associated tasks, enabling CRM workflow visibility directly
from the lead list.List Types
Lead lists can be one of two types:| Type | Description | Response Contains |
|---|---|---|
person | Contains individual leads/contacts | Array of Lead objects with company data |
company | Contains target companies | Array of Company objects |
The list type is set when the list is created and determines how the list is
populated and what data is returned.