send_message
Send SMS or MMS messages through Telnyx, specifying sender, recipients, text, optional media, and webhook settings.
Instructions
Send a message.
Args: from_: Required. Sending address (phone number, alphanumeric sender ID, or short code). to: Required. Receiving address(es). text: Required. Message text. messaging_profile_id: Optional. Messaging profile ID. subject: Optional. Message subject. media_urls: Optional. List of media URLs. webhook_url: Optional. Webhook URL. webhook_failover_url: Optional. Webhook failover URL. use_profile_webhooks: Optional boolean. Whether to use profile webhooks. Defaults to True. type: Optional. The protocol for sending the message, either "SMS" or "MMS". auto_detect: Optional boolean. Automatically detect if an SMS message is unusually long.
Returns: Dict[str, Any]: Response data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |