Skip to main content
POST
Add Single Prospect

Overview

Add an individual prospect to a campaign. Prospect imports are processed asynchronously: the response includes a listId that you can use to check processing status.

Request body

Send to a campaign group (beta)

Send groupId instead of campaignId to add prospects to a campaign group. The group splits them across its campaigns by weight and keeps one conversation per person: anyone already in the group is skipped as already linked. Get group IDs from List Campaign Groups. The response adds groupId, distribution (one entry per campaign that received prospects, each with its own listId) and, if a campaign could not take its part right now, failures. Retry those prospects later.
Campaign groups are in beta. Workspaces without them get 403 feature_unavailable. Sending both campaignId and groupId, or neither, is a 400.

Prompt personalization

Use customData for context that should be unique to this imported conversation, for example the action that qualified the lead. In your prompt, reference it with:

Example

Response

Use Prospect Import Status to confirm that the chat was created before marking the prospect as fully imported in your system.

Best practices

  • Keep customData concise and directly useful for the AI prompt.
  • Do not include secrets or sensitive private data.
  • Confirm import completion with the import status endpoint; creation is asynchronous.

Common Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Prospect to add

url
string<uri>
required
Example:

"https://linkedin.com/in/johnsmith"

campaignId
string

Campaign that receives the prospect(s). Exactly one of campaignId or groupId.

Example:

"campaign_12345abcde"

groupId
string

Campaign group ID (from GET /campaign-groups). Send it instead of campaignId: the group splits prospects across its campaigns by weight and keeps one conversation per person. Exactly one of campaignId or groupId. Beta: only for workspaces with campaign groups switched on.

Example:

"group_12345abcde"

name
string
Example:

"John Smith"

customData
string

Per-conversation AI context saved on the created chat and available in prompts as {{customData}}. Max 3000 characters. Use for why this specific lead is being contacted now.

Maximum string length: 3000
Example:

"John commented on Liam's LinkedIn post about AI outbound."

Response

Prospect added successfully

message
string
Example:

"Prospect added successfully"

listId
string
Example:

"import_list_id"

groupId
string

Group imports only

Example:

"group_12345abcde"

distribution
object[]

Group imports only: how the prospects were split

failures
object[]

Group imports only: campaigns that could not take their part right now. Retry those prospects later.

Last modified on November 27, 2026