Skip to main content
POST
Create Campaign

Overview

Create a new LinkedIn outreach campaign with AI-powered automation. This endpoint sets up a complete campaign with specified products, prompts, and agents, ready to start prospecting.

Use Cases

  • New Product Launch: Create campaigns for new product introductions
  • Market Expansion: Set up campaigns for new geographic markets
  • Seasonal Campaigns: Launch time-sensitive promotional campaigns
  • A/B Testing: Create multiple campaigns to test different approaches
  • Delayed Launch: Create campaigns early (with preventAutoStart: true), upload leads, and launch later when ready

Key Features

  • AI-Powered Messaging: Automated message generation using specified prompts
  • Smart Qualification: Automatic prospect qualification based on responses
  • Agent Assignment: Dedicated LinkedIn agents for authentic outreach
  • Performance Tracking: Built-in analytics and conversion tracking
  • Prevent Auto-Start: Optionally keep campaigns paused through lead uploads until you manually resume

Testing Example

Prevent Auto-Start

By default, campaigns become active immediately and start outreach as soon as leads are uploaded. If you need to build campaigns ahead of time and launch later:
  1. Set preventAutoStart: true when creating the campaign
  2. Upload your leads — the campaign stays paused
  3. When ready, call POST /campaigns/{id}/resume to activate
Resuming also clears the preventAutoStart flag, so subsequent uploads behave normally.

Best Practices

  1. Descriptive Names: Use clear, descriptive campaign names
  2. Variable Planning: Define all necessary variables before campaign creation
  3. Agent Capacity: Ensure assigned agents have available capacity
  4. Testing: Create test campaigns before launching to large prospect lists
  5. Delayed Launch: Use preventAutoStart: true for campaigns you want to prepare in advance

Next Steps

After creating a campaign:
  1. Add Prospects: Use /prospects or /prospects/batch endpoints
  2. Monitor Performance: Check campaign analytics regularly
  3. Optimize Settings: Adjust qualification thresholds based on results
  4. Scale Gradually: Start with smaller prospect lists and scale up

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Campaign to create

name
string
required
Required string length: 3 - 100
Example:

"Q2 Sales Outreach"

productId
string
required
Example:

"prod_123456789"

promptId
string
required
Example:

"prompt_987654321"

agentId
string
required
Example:

"agent_abcdef123456"

qualificationAutomatic
integer
default:70
Required range: 0 <= x <= 100
Example:

75

qualificationVerification
integer
default:50
Required range: 0 <= x <= 100
Example:

50

variables
object
Example:
preventAutoStart
boolean
default:false

If true, campaign starts paused and stays paused after lead uploads until manually resumed. Defaults to false (immediate auto-activation).

Example:

false

Response

Campaign created successfully

id
string
Example:

"campaign_12345abcde"

name
string
Example:

"Q2 Sales Outreach"

status
string
Example:

"active"

preventAutoStart
boolean
Example:

false

Last modified on February 25, 2026