AddLeadsToCampaignV2
Add leads to a campaign. Add up to 100 leads per request. If a LinkedIn account Idis specified in the AccountLeadPairs, that lead will be mapped to the accountin the campaign. Same as the **AddLeadsToCampaign** request, however this request returns counts for how many of the leads were added, how many were update and how many failed to be added.
**The** **`name`** **field in the** **`customUserFields`** **array of the leads you are importing, must contain only alpha-numeric characters or underscores** **`_`**. **An error will be return in the case the** **`name`** **field does not follow this format.**
Headers
X-API-KEY
API key header using this scheme. Example: “X-API-KEY: {API_KEY}”
Request
This endpoint expects an object.
campaignId
accountLeadPairs
resumeFinishedCampaign
resumePausedCampaign
Response
OK
addedLeadsCount
updatedLeadsCount
failedLeadsCount
Errors
400
Add Leads to Campaign V2campaigns Request Bad Request Error
401
Add Leads to Campaign V2campaigns Request Unauthorized Error
404
Add Leads to Campaign V2campaigns Request Not Found Error
429
Add Leads to Campaign V2campaigns Request Too Many Requests Error

