CreateCampaignFromTemplate
Headers
API key header using this scheme. Example: “X-API-KEY: {API_KEY}”
API key header using this scheme. Example: “X-API-KEY: {API_KEY}”
The new campaign is created in DRAFT status. The sequence (workflow) and schedule are copied from the template campaign identified by campaignIdForTemplate; you supply the new name, lead list, sender accounts and exclude options. After creation, call StartCampaign (POST /api/public/campaign/StartCampaign?campaignId=<id>) to activate it.
campaignIdForTemplate (long, required): ID of the existing campaign to use as the template. Its sequence and schedule are copied to the new campaign.
name (string, required): The new campaign name. 1-50 characters.
linkedInUserListId (long, required): ID of the lead list for the new campaign. Must exist and be of type USER_LIST.
linkedInAcccountIdsForCampaign (long[], required): Sender LinkedIn account IDs. 1-100 items. All accounts must exist and have valid auth.
excludeContactedFromOtherCampaigns (bool, required): Skip leads already in any other campaign.
excludeHasOtherAccConversations (bool, required): Skip leads that already have conversations with other sender accounts.
excludeContactedFromSenderInOtherCampaign (bool, required): Skip leads the sender accounts have already contacted in other campaigns.
excludeListId (long, optional): A separate list of leads to always exclude. Must not equal linkedInUserListId.