POST api/sms/twilio-receive-inbound-message

Request Information

URI Parameters

None.

Body Parameters

TwilioReceiveInboundMessageRequest
NameDescriptionTypeAdditional information
MessageSid

string

Required

Body

string

None.

To

string

Required

From

string

Required

NumMedia

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "messageSid": "sample string 1",
  "body": "sample string 2",
  "to": "sample string 3",
  "from": "sample string 4",
  "numMedia": 1
}

application/xml, text/xml

Sample:
<TwilioReceiveInboundMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData.SMS">
  <_x003C_Body_x003E_k__BackingField>sample string 2</_x003C_Body_x003E_k__BackingField>
  <_x003C_From_x003E_k__BackingField>sample string 4</_x003C_From_x003E_k__BackingField>
  <_x003C_MessageSid_x003E_k__BackingField>sample string 1</_x003C_MessageSid_x003E_k__BackingField>
  <_x003C_NumMedia_x003E_k__BackingField>1</_x003C_NumMedia_x003E_k__BackingField>
  <_x003C_To_x003E_k__BackingField>sample string 3</_x003C_To_x003E_k__BackingField>
</TwilioReceiveInboundMessageRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.