Naar navigatie springen

Get lead

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.

Padparameters

campaign_idstringVerplicht

Headers

xi-api-keystringOptioneel

Verzoek

This endpoint expects an object.
recipientslist of objectsVerplicht

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

Geslaagde response
campaignobject
addedinteger
Recipients the campaign didn't have yet.

Fouten

422
Leads Create Request Unprocessable Entity Error