Lead Lists
Update Lead List
Updates a lead list’s name and/or associated leads
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
The unique identifier of the lead list to update.
The new display name for the lead list. If omitted, the name remains
unchanged.
Array of person/lead IDs to set on the list. Only valid for person-type
lists. Replaces the existing person IDs entirely.
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
Unique identifier for the lead list.
The ID of the associated Ideal Customer Profile.
The updated display name of the lead list.
The type of leads in this list (
"person" or "company"). This field is
immutable.ISO 8601 timestamp for the campaign start date.
ISO 8601 timestamp for the campaign end date.
Array of person/lead IDs (updated if provided for person-type lists).
Array of company UUIDs (updated if provided for company-type lists).
Array of user IDs with access to this lead list.
ISO 8601 timestamp of when the lead list was created.
ISO 8601 timestamp of when the lead list was last updated. Updated on each
modification.
Populated Fields
Populated when
type is "person". Array of fully hydrated person objects
with nested company and Bullhorn client contact data.Populated when
type is "company". Array of company objects.Response Examples
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Request body validation failed. Common causes: attempting to update personIds on a company-type list (or vice versa), or providing invalid UUIDs for companyIds. |
| 403 | FORBIDDEN | User does not have access to this lead list. Only users in userIds or admins can update the list. |
| 404 | NOT_FOUND | No lead list exists with the specified ID. |
| 500 | INTERNAL_ERROR | An unexpected server error occurred. |
Authorization Rules
- Access Control: Only users whose ID is in the
userIdsarray can update the lead list. - Admin Override: Users with the admin role can update any lead list regardless of
userIds. - Type Immutability: The
typefield cannot be changed after creation. Attempting to switch between person and company lists will fail.