Skip to main content
POST
Upload leads from CSV data

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.

header
object
required

{ "CSV Column Name": "targetField" }. Use "customVariable" for anything you want as a merge field.

leads
object[]
required

Row objects keyed by the CSV column names used in header.

Maximum array length: 5000
removeDuplicates
boolean
default:true

Skip prospects already enrolled in another active or paused campaign on this account.

Response

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

The response is of type object.