POST v3/SmsToEmail
Request Information
URI Parameters
None.
Body Parameters
SmsRequestName | Description | Type | Additional information |
---|---|---|---|
SmsSid | string |
None. |
|
Body | string |
None. |
|
MessageStatus | string |
None. |
|
AccountSid | string |
None. |
|
From | string |
None. |
|
To | string |
None. |
|
FromCity | string |
None. |
|
FromState | string |
None. |
|
FromZip | string |
None. |
|
FromCountry | string |
None. |
|
ToCity | string |
None. |
|
ToState | string |
None. |
|
ToZip | string |
None. |
|
ToCountry | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SmsSid": "sample string 1", "Body": "sample string 2", "MessageStatus": "sample string 3", "AccountSid": "sample string 4", "From": "sample string 5", "To": "sample string 6", "FromCity": "sample string 7", "FromState": "sample string 8", "FromZip": "sample string 9", "FromCountry": "sample string 10", "ToCity": "sample string 11", "ToState": "sample string 12", "ToZip": "sample string 13", "ToCountry": "sample string 14" }
application/xml, text/xml
Sample:
<SmsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twilio.AspNet.Common"> <AccountSid>sample string 4</AccountSid> <From>sample string 5</From> <FromCity>sample string 7</FromCity> <FromCountry>sample string 10</FromCountry> <FromState>sample string 8</FromState> <FromZip>sample string 9</FromZip> <To>sample string 6</To> <ToCity>sample string 11</ToCity> <ToCountry>sample string 14</ToCountry> <ToState>sample string 12</ToState> <ToZip>sample string 13</ToZip> <Body>sample string 2</Body> <MessageStatus>sample string 3</MessageStatus> <SmsSid>sample string 1</SmsSid> </SmsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.