from_phone_number
.
from_phone_number
from_phone_number
(string, required): The sender phone number that must be assigned to one of your assistantsto_phone_number
(string, required): The recipient phone number in E.164 format (e.g., +1234567890)message
(string, required): The SMS message content (max 1600 characters)media_urls
(array of strings, optional): List of media URLs for MMS messages200 OK
status with details about the sent message.
success
(boolean): Whether the SMS was sent successfullymessage_id
(string): Unique identifier for the message from the telephony providermessage
(string): Human-readable status messageprovider
(string): The telephony provider used (“twilio” or “telnyx”)from_phone_number
, to_phone_number
, message
)from_phone_number
.
+1234567890
(123) 456-7890
, 123-456-7890
, 1234567890