Send Message
Send a message or start a call through any supported public channel. Safety note: HTTP 202 and 207 protect against duplicate sends. Do not automatically replay accepted, ambiguous, or partially delivered sends; inspect retryable and honor retry_after_ms. Call startup can also return HTTP 503 with code conversation_flow_unavailable and retryable=true.
content messages cannot carry a file. To send an image, video, or document, use template_id with a template whose header format matches, and pass the file’s URL in a header component under components (see the whatsapp_template_with_document example below). Templates also work outside the 24-hour customer service window. Create and approve templates from Integrations → WhatsApp → Templates — see Message templates.code: "call_suppressed". No call was placed. Two values of reason relate to leads waiting for the team:lead_in_supportwithretryable: false: the lead is waiting for a reply from the team, because the AI agent handed the conversation over. Automated calls to that lead stay paused until the team closes that conversation. Retrying before then returns the same response.lead_support_unverifiedwithretryable: true: Nexor could not confirm whether the lead is waiting for the team. The same request can be retried after a short wait.
Authorizations
API key for authentication. Keys are prefixed with nxr_live_.
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
whatsapp Plain text message body. Required for whatsapp (unless using template_id). For email: use content for plain text or html for formatted email.
1Lead to contact
WhatsApp template ID. Sends a template message instead of free-form text.
1Optional when the lead has exactly one active workflow run; otherwise required to disambiguate.
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'.
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.
Allowed only for call; restricts the voice agent tools for this call.
1 - 20 elements^[a-z][a-z0-9_]{0,127}$human, automation Response
Message sent successfully
Whether the message was sent
Channel used
whatsapp, unsupervised-whatsapp, imessage, email, sms, 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)
Provider identifier returned for provider-specific channels.