Send an SMS message to a valid 10-digit Ytel API phone number.
###Element Attributes

from
optional

The SMS-enabled Ytel API number (E.164 format) in which the message is sent.
Default value: The Ytel API phone number (E.164 format) to which SMS was received.

to
optional

The phone number (E.164 format) that will receive the message.
Default value: The phone number (E.164 format) from which SMS was sent.

body
optional

The body message that is to be sent in the text.
Default value: The SMS text which was received.

method
optional

Specifies the HTTP method used to request the required URL once SMS message is sent.
Valid values: POST, GET
Default value: POST

statusCallback
optional

URL that can be requested to receive notification when SMS message was sent.

<Response>
    <Message>
        
        <Sms From="+1949XXXXXXX" To="+1949XXXXXX" Method="POST" 
             StatusCallback="https://customapps.ytel.com/m360/examples/welcome/index.php" >This is a Test</Sms>
    </Message>
</Response>

Did this page help you?