Skip to main content
FIXED · call In-call texting requires incall_sms_enabled on the agent, an SMS-capable business number and valid carrier credentials. An API-imported Twilio or Telnyx number sends in-call texts like any other number when these hold. Inbound sends from the dialled number to its caller. Outbound sends from the originating number to the person called. Respect opt-outs on both paths. Never substitute another tenant’s sender. NOT OFFERED → do this instead · number SMS does not automatically inherit the inbound phone profile. Put this business’s SMS instructions in sms_prompt and configure automatic replies for its number. YOU CAN CHANGE · number Choose sms_reply_enabled and sms_prompt for this number. Keep business-specific details separate when numbers share an agent. SCOPE · message A single text, an automatic conversation reply and a call-triggered text are separate sends. A single text appears in that number’s SMS thread and does not pause automatic replies. Keep each message’s sender, receipt and consent together. Read the compact AI rules Send one requested message from an explicit owned sender and retain the acceptance result without assuming delivery.
Effect: One message ·
Sender: Explicit owned number ·
Acceptance: Not delivery proof
The important part
  • This request can contact a real recipient; it has no dry-run mode.
  • Use to for the recipient and from_number for the owned sender.
  • Do not resend an unknown outcome or bypass a do_not_contact refusal.

Prerequisites

Keep NIXFLEX_API_KEY private on the server. Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Use owned identifiers; SDK and CLI examples need the documented minimum versions. Set NXF_AGENT_ID, NXF_PHONE_NUMBER and NXF_TO_NUMBER to the active agent, owned sender and approved recipient.

1. Prepare the message

Keep the purpose and sender clear. Encoding and segmentation affect transport charges; the API does not declare one universal character cap or price for all destinations.

2. Send once

3. Save the acceptance result

The recipient field is to, not to_number. from_number is required and must belong to this account and agent; no agent-number fallback is used. Save receipt identities when returned.

4. Interpret uncertainty

201 with status:sent means accepted for sending, not delivery. History persistence can fail after acceptance. Preserve outcome, work_id, message_id and safe_to_retry when present. A generic 500 does not confirm the text was never sent.

5. Handle replies and events

Enable and configure the number’s SMS agent if automatic replies are wanted. Inspect available conversations through the inbox. The reviewed webhook contract includes sms.booking for calendar actions; it does not define general sms.received or sms.delivered events. There is no documented single-message GET route to invent from the send response.

Example response

Illustrative accepted response:
Optional receipt fields depend on the enabled implementation.

Errors and limits

Next steps

Single-SMS suppression response change

Single POST /v1/sms now returns 409 do_not_contact, type conflict, when the recipient is suppressed. It previously returned 400 invalid_request. Nothing was sent. Stop and respect the opt-out; never automatically retry or remove the suppression. SMS campaigns still hold affected recipients individually with hold_reason: do_not_contact.