Skip to main content
POST
Set the prospect source

Authorizations

X-Api-Key
string
header
required

Your LinkedCamp API key.

Body

application/json
campaignId
string
required

Campaign id, from campaign_list or campaign_create.

url
string

A LinkedIn LIST url — a basic search, a Sales Navigator (/sales/) search, a Recruiter (/talent/) search, or a group / event / post. Not a single profile. Required unless using a CRM source.

surface
enum<string>

Assert which LinkedIn surface the url belongs to. The call is rejected if the url does not match, the same way the web app validates its Sales Navigator and Recruiter tabs. Omit to detect it.

Available options:
sales-navigator,
recruiter,
basic
type
enum<string>

Override the inferred source type. Use "hubspot" or "ghl" for CRM pulls.

Available options:
url,
event,
group,
post,
marketplace,
csv,
hubspot,
ghl,
api
field
string

CRM sources: the contact property holding the LinkedIn profile URL.

query
string

CRM sources: the segment / list / filter query to pull.

Response

The result, as JSON. Writes answer { "ok": true, "message": ..., "data": ... }.

The response is of type object.