Enviar Mensaje
Send a message to a lead through WhatsApp, email, or trigger an AI-powered phone call.
content) no pueden llevar un archivo adjunto. Para mandar una imagen, video o documento, usa template_id con una plantilla cuyo formato de header coincida, y pasa la URL del archivo en un componente header dentro de components (ver el ejemplo whatsapp_template_with_document más abajo). Las plantillas también funcionan fuera de la ventana de 24 horas de servicio al cliente. Crea y aprueba plantillas desde Integraciones → WhatsApp → Plantillas — ver Plantillas de mensaje.Autorizaciones
API key for authentication. Keys are prefixed with nxr_live_.
Cuerpo
Lead to contact
Workflow that determines channel configuration
Delivery channel
whatsapp, email, call Plain text message body. Required for whatsapp (unless using template_id). For email: use content for plain text or html for formatted email.
HTML email body. When provided, the email is sent with this HTML directly (not escaped). Use instead of content for formatted emails.
Email subject line. Defaults to 'Message from your advisor'.
WhatsApp template ID. Sends a template message instead of free-form text.
Template parameters in Meta format. Used with template_id. To send a file (image, video, or document) as part of the message, include a header component whose parameter carries the file — see the whatsapp_template_with_document request example. The template must already be approved with a matching header format; free-form content messages cannot carry attachments.
Custom greeting for call channel. Overrides the workflow default.
Respuesta
Message sent successfully
Whether the message was sent
Channel used
whatsapp, email, call WhatsApp only: message type
text, template Internal message identifier
WhatsApp only: Meta wamid
Email only: delivery tracking ID
Call only: call identifier
Call only: initial status (registered)