Give a lead another of the campaign's senders
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).
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"senderId*string^[0-9a-f]{24}$curl -X POST 'https://api.tryzen.co/v1/campaigns/string/leads/string/reassign' \ -H 'Content-Type: application/json' \ -d '{ "senderId": "string"}'{ "status": "pending", "previousStatus": "pending", "senderId": "string"}Retry a failed lead POST
**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).
One action on up to 200 selected leads POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. **Batch:** through an API key, `campaignLeadIds` holds at most 100 items. `pause`, `resume`, `stop` and `remove` apply lead by lead (one refused lead never holds the others back); `results` has one outcome per id: `done`, `already`, `refused` (with its `code`), `changed` or `not_found`. `move` adds the leads to another campaign (in progress, paused or finished, launched): they join its list and its workflow enrolls them, unless its exclusions skip them; leads still running here are stopped (their history stays). One transaction. 409 `move_target_*` when that campaign can't take leads.