Skip to main content
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.
Users can only access lead lists where their user ID is included in the list’s userIds array, or if they are an admin user.

Request

string
required
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.
Lead[]
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).
Company[]
Array of company objects (for company-type lists)

Response Examples

How It Works

  1. The endpoint authenticates the user via Clerk
  2. Retrieves the lead list by the provided ID
  3. Validates the user has access to the list (via userIds array or admin status)
  4. Based on the list’s type field:
    • 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
  5. 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:
The list type is set when the list is created and determines how the list is populated and what data is returned.