Skip to main content
POST

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Campaign name.

Minimum string length: 1
steps
(email · object | linkedin_message · object | linkedin_message_bundle · object | linkedin_voice_message · object | linkedin_inmail · object | linkedin_visit_profile · object | linkedin_like_last_post · object | whatsapp_message · object | condition · object | linkedin_connection · object | task · object | add_to_another_campaign · object | end · object)[]
required

Ordered campaign steps. Use branch arrays like onTrue, onFalse, onAccepted, and onNotAccepted for branching. GET includes saved manual template content, with HTML email bodies. Steps PATCH rejects dynamic template-email bodies with 422 before replacement. When resubmitting steps, the read-only stepId, connectionId, nextConnectionId, and advanced fields are accepted and ignored.

Minimum array length: 1
description
string | null

Optional campaign description.

identityId
integer | null

Optional sender identity ID — shorthand for a single-sender identityIds: [identityId]. A sender is required later when activating the campaign.

identityIds
integer[]

Sender identity IDs, primary first (repeats are ignored). The campaign spreads its contacts across these senders. More than one sender requires the multi-identity campaigns beta on the workspace. When identityId is also sent it must equal the first entry.

Maximum array length: 100
shouldAutomaticallySend
boolean
shouldSendTrackingPixel
boolean
excludeContactedLeads
boolean
allowedEmails
string[]

Allowed sender email addresses for this campaign. Only for single-sender campaigns: rejected together with more than one sender identity.

Response

Campaign payload is valid against the public simplified schema

status
enum<string>
required
Available options:
success
message
string
required
data
object
required