Passer à la navigation

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.

Paramètres de chemin

campaign_idstringRequis

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
recipientslist of objectsRequis

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.

Réponse

Réponse réussie

campaignobject
addedinteger
Recipients the campaign didn't have yet.

Erreurs

422
Unprocessable Entity Error