Skip to main content
PATCH
Update ICP
Updates an existing ICP (Ideal Customer Profile) with the provided fields. This endpoint supports partial updates - only include the fields you want to change. Fields not included in the request body will remain unchanged.

Authentication

This endpoint requires authentication. The user must be signed in.
Users can only update ICPs where they are listed in the userIds array, or if they are an admin user. Attempting to update an ICP without proper authorization will result in a 403 Forbidden error.

Request

string
required
The unique identifier (UUID) of the ICP to update.

Request Body

All fields are optional. Only include the fields you want to update.
string
The display name of the ICP.
string | null
A description of the ICP’s target profile. Set to null to clear.
array
Array of Clerk user IDs that should have access to this ICP.
number
The default number of leads to include when generating lead lists from this ICP.
string | null
ISO 8601 timestamp indicating when the ICP expires. Set to null for indefinite.
array
Array of search criteria configurations for lead providers.
array
Array of custom filtering rules applied to leads after retrieval.
object | null | undefined
CRM filter configuration. Set to null to remove. This field is both optional and nullable.

Response

Returns the complete updated ICP object.
string
required
Unique identifier (UUID) for the ICP.
string
required
The display name of the ICP.
string | null
required
A description of the ICP’s target profile.
string
required
ISO 8601 timestamp of when the ICP was created.
string
required
ISO 8601 timestamp of when the ICP was last updated (will reflect the update time).
array
required
Array of Clerk user IDs that have access to this ICP.
number
required
The default number of leads per list.
string | null
required
ISO 8601 timestamp indicating when the ICP expires.
array
required
Array of search criteria configurations for lead providers.
array
required
Array of custom filtering rules.
object | null | undefined
CRM filter configuration. This field is both optional and nullable.

Response Examples

Error Codes