Skip to navigation

Add leads

Add recipients to an outbound campaign that isn’t stopping, stopped or failed. Recipients whose id the campaign already has are skipped, and a completed campaign becomes active again.

Path parameters

campaign_idstringRequired

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
recipientslist of objectsRequired

Who to add. A recipient whose id the campaign already has is skipped, so retrying a request with ids is safe. Recipients without an id are always added.

Response

Successful Response
campaignobject
addedinteger
Recipients the campaign didn't have yet.

Errors

422
Leads Create Request Unprocessable Entity Error