Leads
Add Leads
Add one or more leads to an existing campaign
POST
Add new leads to an existing campaign. The leads will be queued for processing according to the campaign’s sequence.Documentation Index
Fetch the complete documentation index at: https://docs.sendpilot.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request
Your API key
The campaign ID to add leads to
Array of lead objects to add (max 100 per request)
Custom fields: You can pass any additional custom fields as flat properties directly on each lead object. See the Dynamic/Custom Fields section below for details.
Dynamic/Custom Fields
Leads support dynamic custom fields that can be passed as flat properties alongside the requiredlinkedinUrl. This allows you to include any additional data for personalization in your campaign messages.
How it works: Simply add any custom key-value pairs directly to the lead object. There’s no need for a nested
customFields object—all properties are accepted at the top level.industry- Lead’s industry for targeted messagingregion- Geographic region for localized outreachreferredBy- Referral source trackingcustomScore- Lead scoring from your CRMeventName- Conference or event where you meticebreaker- Pre-written personalized opener
Response
Whether the operation completed successfully
Number of leads successfully added
Number of leads skipped (already exist in campaign)
Number of leads with invalid data
Array of error objects for leads that failed validation (only present if there are errors)
Duplicate detection is based on the LinkedIn URL. If a lead with the same URL already exists in the campaign, it will be skipped.
Authorizations
API key for authentication
Body
application/json