Skip to main content
POST
Reclassify a Closed Lead Run

Autorizaciones

X-API-Key
string
header
requerido

API key for authentication. Keys are prefixed with nxr_live_.

Parámetros de ruta

id
string
requerido

Lead id. Lead id. This child router does not prevalidate UUID syntax; malformed values may become a server error in the real SQL path.

Cuerpo

application/json
status_key
string
requerido

Dynamic key that must exist in the selected run workflow; no static enum.

Minimum string length: 1
workflow_id
string<uuid>
workflow_run_id
string<uuid>
workflowRunId
string<uuid>
reason
string | null
discard_reason_code
string | null
discard_reason_label
string | null
discard_reason_note
string | null

Respuesta

Historical closed-run transition. note is present only on a detected concurrent change.

success
enum<boolean>
requerido
Opciones disponibles:
true
changed
boolean
requerido
previous_status
string | null
requerido
new_status
string
requerido
closed_run
enum<boolean>
requerido
Opciones disponibles:
true
workflow_run
object
requerido
note
string
Última modificación el 8 de septiembre de 2026