Skip to main content

POST /api/v1/public/campaigns/:campaign_id/import/

Import leads into a campaign. Auth: X-API-Key Body
Fields
  • Array name: leads
  • first_name (required)
  • last_name (required)
  • linkedin_profile_url (required)
  • profile_picture_url (optional)
  • job_title (optional)
  • industry (optional)
  • email (optional)
  • phone_number (optional)
  • location (optional)
  • custom_fields (optional JSON object)
  • company_name (optional)
  • company_industry (optional)
  • company_linkedin_url (optional)
  • company_website_url (optional)
  • company_location (optional)
Notes
  • You can also send a nested company object with keys name, website_url, linkedin_url, industry, location instead of the flattened company_* fields. The API accepts either format.
  • Optional flag: activate (boolean). When true, newly imported leads are immediately scheduled/launched in the campaign. Only works if the campaign is already ACTIVE. If the campaign is DRAFT, leads are added but not activated (returns a warning). If PAUSED, actions are created but not scheduled until the campaign is resumed.