Skip to main content
POST
/
leads
/
add-to-campaign
curl -X POST https://api.linkedcamp.com/leads/add-to-campaign \
  -H "token: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "campaignId": "60f7a1b2c3d4e5f6a7b8c9d0",
    "leads": [
      {
        "profileLink": "https://www.linkedin.com/in/johndoe",
        "firstName": "John",
        "lastName": "Doe"
      },
      {
        "profileLink": "https://www.linkedin.com/in/janesmith",
        "firstName": "Jane",
        "lastName": "Smith"
      }
    ]
  }'
{
  "success": true,
  "message": "Leads added successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.linkedcamp.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

token
string
required
Your LinkedCamp API token.

Body Parameters

campaignId
string
required
The ID of the campaign to add leads to. The campaign must not be in DELETED or FAILED status.
leads
array
required
Array of lead objects to add.
  • Leads that already exist in the campaign (matched by profileLink) will be skipped.
  • Sales Navigator and Recruiter URLs are automatically converted to standard LinkedIn URLs.
  • You can pass additional custom fields on each lead object.

Response

success
boolean
Whether the request was successful.
message
string
A human-readable result message.
curl -X POST https://api.linkedcamp.com/leads/add-to-campaign \
  -H "token: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "campaignId": "60f7a1b2c3d4e5f6a7b8c9d0",
    "leads": [
      {
        "profileLink": "https://www.linkedin.com/in/johndoe",
        "firstName": "John",
        "lastName": "Doe"
      },
      {
        "profileLink": "https://www.linkedin.com/in/janesmith",
        "firstName": "Jane",
        "lastName": "Smith"
      }
    ]
  }'
{
  "success": true,
  "message": "Leads added successfully"
}