Retry a failed lead
Access: an API key (or an org-wide key naming the workspace) with manage on campaigns.
Failed → Pending: the lead runs again from the step that failed, now (no delay). Pass senderId to run it on another of the campaign's senders (required when its sender left the campaign). 409 lead_outcome_unknown when the failed step may have reached LinkedIn (unknown_outcome): retrying could send it twice, so those leads are never retried. 409 lead_step_completed when that step went through, lead_not_failed, campaign_not_running. Sending it again while the retry waits re-starts the workflow (the recovery path).
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
campaignId*string^[0-9a-f]{24}$campaignLeadId*string^[0-9a-f]{24}$application/json- body
{}senderId?string^[0-9a-f]{24}$Default Response
application/json- response
status*string"pending""in_progress""finished""paused""failed""excluded"previousStatus*string"pending""in_progress""finished""paused""failed""excluded"curl -X POST 'https://api.tryzen.co/v1/campaigns/string/leads/string/retry' \ -H 'Content-Type: application/json' \ -d '{}'{ "status": "pending", "previousStatus": "pending"}Remove one lead from the campaign DELETE
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. Deletes the lead's campaign record and ends its sequence; the lead stays in the workspace and its lists, and what was already sent stays in the history. 409 `lead_step_in_flight` while a sender performs its current step.
Give a lead another of the campaign's senders POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. Only a lead nobody has contacted yet moves (no invite or message sent, none that may have gone out, no connection or pending invite with its sender): a contacted lead stays with the sender it knows (409 `lead_already_contacted`). 409 `lead_step_in_flight` while a sender performs its step, `lead_ended` for a finished lead. A failed lead is retried on the new sender (see retry).