Create a campaign
Create a campaign with its steps, lead source lists and sending seats. A campaign is the campaign agent — the outreach half of a Full Cycle agent: create the list first (POST /v1/list), then the source agent that fills it with leads (POST /v1/agent), then this campaign to reach out to them. At least one list (lead source) is required. The campaign reaches out to the contacts of its lists; lists are typically filled by a source agent (the lead finder, see POST /v1/agent) or by importing contacts. If the campaign contains any LinkedIn step (invitation, invitationNote, message, voiceMessage, visitProfile, likePosts), a linkedinSeatId is required. If it contains email steps, at least one emailSeatId is required; multiple email seats (up to 100) are only allowed when the campaign has email steps exclusively. Step rules: at most one Connection Request step, an invitation cannot come after a LinkedIn message or voice message, and delayAfterLastStep must be at least 1 day (see the steps field for per-type fields and limits). When the campaign has a Connection Request step, 1st-degree connections are excluded from the campaign by default. Once activated, the campaign starts the outreach automatically on a daily basis. The launch hours can be configured in the LinkedIn seat settings. A campaign created active (the default) needs free campaign capacity, as when activating one with PATCH /v1/campaign/{id}/status: each account can run 2 campaigns, plus one per assigned Full-cycle Agent add-on. If the account is at capacity, a Full-cycle Agent add-on from the organization is assigned automatically; otherwise the request fails with 400 and no campaign is created. Pass active: false to create it paused.
Headers
Body
Campaign steps, executed in order. Valid types: invitation, invitationNote, message, voiceMessage, visitProfile, likePosts, email. Ordering rules: at most one Connection Request step (invitation or invitationNote); an invitation cannot come after a message or voiceMessage step. Common fields: delayAfterLastStep in days (integer >= 1, default 2). stepNumber is assigned automatically from the array order and unknown fields are ignored. message and email steps take a messageMode: 'ai' (content is generated by AI for each contact, the default when no content is provided) or 'same' (the provided content is sent as-is, supports the [FirstName], [LastName], [Company], [JobTitle], [SenderFirstName], [SenderName], [SenderFullName] and [SenderCompany] variables; an empty value removes the tag). In 'same' mode, message is required (max 1900 chars for LinkedIn messages) and email steps also require subject. invitationNote requires note (max 180 chars, 280 with a Sales Navigator seat); voiceMessage requires url to the audio file; likePosts accepts numberOfPosts (1-3, default 1); visitProfile and invitation need no extra fields.
Whether the campaign starts active. Once active, the campaign starts the outreach automatically on a daily basis; the launch hours can be configured in the LinkedIn seat settings. Starting active needs free campaign capacity, otherwise the creation fails with 400.
true
Response
Campaign created
.png?fit=max&auto=format&n=fLzJlZyi7L0nfF9B&q=85&s=7dc539f8ea9f771a09a9750c1227ebdb)
.png?fit=max&auto=format&n=fLzJlZyi7L0nfF9B&q=85&s=e742bcbb4bd47cd295da36c48cdd6089)