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
KeepNIXFLEX_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 isto, 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 includessms.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:Errors and limits
Next steps
Single-SMS suppression response change
SinglePOST /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.