Skip to main content
POST
Create ICP
Creates a new ICP (Ideal Customer Profile) with the specified targeting criteria. The authenticated user is automatically added to the ICP’s userIds array, granting them access to the newly created ICP.

Authentication

This endpoint requires authentication. The user must be signed in to create an ICP.
The creating user is automatically added to the userIds array even if not explicitly included in the request body.

Request

string
required
The name of the ICP. Should be descriptive of the target audience.
string | null
An optional description providing more context about the ICP’s purpose and target criteria.
array
required
Array of lead provider search criteria. At least one criteria should be provided to enable lead sourcing.
array
required
Array of custom filters to apply after lead provider search. Can be empty array [] if no custom filters are needed.
object | null | undefined
Optional CRM integration filters for sourcing leads from connected CRM systems. This field is both optional and nullable.
array
required
Array of Clerk user IDs that should have access to this ICP. The creating user is automatically included.
number
default:10
Number of leads to include per generated lead list.
string | null
ISO 8601 timestamp indicating when the ICP should expire. Set to null for no expiration.

Response

Returns the created ICP object.
string
required
The generated UUID for the new ICP.
string
required
The name of the ICP.
string | null
required
The description of the ICP.
string
required
ISO 8601 timestamp of when the ICP was created.
string
required
ISO 8601 timestamp of when the ICP was last updated (same as createdAt for new ICPs).
array
required
The lead provider search criteria as provided in the request.
array
required
The custom filter criteria as provided in the request.
object | null | undefined
The CRM filters as provided in the request. This field is both optional and nullable.
array
required
Array of user IDs with access, including the creating user.
number
required
Number of leads per list.
string | null
required
Expiration timestamp or null.

Request Examples

Response Examples

Error Codes