Send SMS
SMS
Send SMS
POST /v1/sms
POST
Send SMS
Sends a single SMS via your Twilio number. Useful for one-off messages, status updates, or reminders that do not need a phone call.
Status updates come asynchronously via Twilio status callbacks. Final status (
Request
Body parameters
| Field | Type | Required | Notes |
|---|---|---|---|
agent_id | string | Yes | Agent that owns this SMS — its system_prompt handles any replies |
to | string | Yes | Recipient in E.164 |
from_number | string | Yes | Your imported Twilio number |
message | string | Yes | Message text. 600 chars recommended for reliable carrier delivery. Twilio hard cap is 1600. See SMS length guide. |
Response
201 Created:
delivered, failed, undelivered) reflects in the message record within ~30 seconds.
Reply behaviour
If the recipient replies, the agent automatically answers using itssystem_prompt. There is no separate reply-handling system or context field.
Best practice: if recipients might reply to your SMS, include the relevant context (what you sent, what you expect them to ask) in the agent system_prompt before sending. See Send SMS concept page for details.
Errors
| Code | Cause |
|---|---|
from_number_not_owned | from_number is not in your account |
message_too_long | Message over 1600 chars |
sms_not_supported_in_region | US number without A2P 10DLC |
recipient_unsubscribed | Recipient previously sent STOP |