Skip to main content
PATCH
Updates an existing lead list. You can modify the list name and the associated person or company IDs. The list type is immutable and determines which ID field can be updated.

Authentication

This endpoint requires authentication. Only users with access to the lead list (or admin users) can update it.
The type field is immutable. Person-type lists can only update personIds, and company-type lists can only update companyIds. Attempting to update the wrong ID field will result in a validation error.

Request

string (UUID)
required
The unique identifier of the lead list to update.
string
The new display name for the lead list. If omitted, the name remains unchanged.
array
Array of person/lead IDs to set on the list. Only valid for person-type lists. Replaces the existing person IDs entirely.
array
Array of company UUIDs to set on the list. Only valid for company-type lists. Must be valid UUIDs. Replaces the existing company IDs entirely.

Request Examples

Response

Returns the updated lead list with fully populated persons or companies.

Base Fields

string (UUID)
required
Unique identifier for the lead list.
string (UUID) | null
required
The ID of the associated Ideal Customer Profile.
string
required
The updated display name of the lead list.
string
required
The type of leads in this list ("person" or "company"). This field is immutable.
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 (updated if provided for person-type lists).
array
required
Array of company UUIDs (updated if provided for company-type lists).
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. Updated on each modification.

Populated Fields

array | undefined
Populated when type is "person". Array of fully hydrated person objects with nested company and Bullhorn client contact data.
array | undefined
Populated when type is "company". Array of company objects.

Response Examples

Error Codes

Authorization Rules

  • Access Control: Only users whose ID is in the userIds array can update the lead list.
  • Admin Override: Users with the admin role can update any lead list regardless of userIds.
  • Type Immutability: The type field cannot be changed after creation. Attempting to switch between person and company lists will fail.