Assign Agent to Lead
Authorizations
API key for authentication. Keys are prefixed with nxr_live_.
Path Parameters
Lead ID
Body
ID of the workflow to assign the lead to. Use GET /workflows to list available workflows.
"123e4567-e89b-12d3-a456-426614174000"
Optional reason for the assignment. Stored on the deactivated workflow run when reassigning.
"Lead qualified for premium workflow"
Optional ID of the user or system performing the assignment. Used for audit trail.
"user-abc-123"
Response
Workflow assigned successfully
ID of the newly created workflow run
ID of the assigned workflow
Name of the assigned workflow
Whether this was a new enrollment (lead had no active workflow) or a reassignment (lead moved from another workflow)
enrollment, reassignment Whether the workflow is currently paused. If true, the cadence sequence will not start until the workflow is unpaused.