Skip to main content
POST
Create or Update a Lead Reminder Rule

Autorizaciones

X-API-Key
string
header
requerido

API key for authentication. Keys are prefixed with nxr_live_.

Cuerpo

application/json
trigger_event
enum<string>
requerido
Opciones disponibles:
event_created,
event_cancelled,
call_analyzed,
event_enrolled,
event_ended
template_name
string
requerido

Must contain at least one non-whitespace character; stored without trimming.

Minimum string length: 1
workflow_id
string<uuid> | null
channel
enum<string>
predeterminado:whatsapp
Opciones disponibles:
whatsapp,
retell,
sms,
email
delay_minutes
number
predeterminado:0

Handler accepts any finite number; database column is integer, so fractions can fail as 500.

delay_reference
enum<string>
predeterminado:trigger
Opciones disponibles:
trigger,
event_start,
event_start_local,
event_end,
contact_schedule_start
is_active
any

Defaults true. Type is not validated before PostgreSQL boolean coercion.

name
any

Defaults null. Type/length are not validated before PostgreSQL text coercion.

Respuesta

Existing natural-key rule updated.

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