Skip to main content
POST
Create or Update a Recontact Rule

Autorizaciones

X-API-Key
string
header
requerido

API key for authentication. Keys are prefixed with nxr_live_.

Cuerpo

application/json
name
any
requerido

Required truthy value; type and length are not validated before the text column.

stale_after_hours
number
requerido

Required finite number; no positive/range check, and fractions can fail the integer column.

workflow_id
string<uuid> | null
trigger_status_key
any | null

No existence check; any non-cadence key can be stored.

stale_reference
enum<string>
predeterminado:last_message_at
Opciones disponibles:
last_message_at,
last_response_at,
last_touchpoint_at,
status_changed_at,
started_at
cooldown_hours
number
predeterminado:24

Finite values accepted without range check; otherwise defaults.

max_attempts
number
predeterminado:5

Finite values accepted without range check; otherwise defaults.

on_exhausted
enum<string>
predeterminado:mark_cold
Opciones disponibles:
mark_cold,
pause_run,
nothing
priority
number
predeterminado:5

DB enforces 1..10; handler only requires finite when supplied.

Rango requerido: 1 <= x <= 10
prompt_hint
any | null

No handler type/length validation before text coercion.

conditions
any

Defaults to {}. Any JSON value is accepted by the handler and stored as jsonb.

is_active
any

Defaults true; no handler type validation before boolean coercion.

Respuesta

Existing natural-key rule updated.

success
enum<boolean>
requerido
Opciones disponibles:
true
rule
object
requerido
status
enum<string>
requerido
Opciones disponibles:
updated
Última modificación el 8 de septiembre de 2026