Przejdź do nawigacji

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.

Parametry ścieżki

campaign_idstringWymagany

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
recipientslist of objectsWymagany

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.

Odpowiedź

Pomyślna odpowiedź

campaignobject
addedinteger
Recipients the campaign didn't have yet.

Błędy

422
Leads Create Request Unprocessable Entity Error