GET api/InboundSms

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of InboundMessage
NameDescriptionTypeAdditional information
Id

integer

None.

AccountSid

string

None.

Date

date

None.

Direction

string

None.

From

string

None.

To

string

None.

SmsStatus

string

None.

Cost

decimal number

None.

Body

string

None.

ApiVersion

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "AccountSid": "sample string 2",
    "Date": "2024-12-04T08:53:03.7310542-06:00",
    "Direction": "sample string 3",
    "From": "sample string 4",
    "To": "sample string 5",
    "SmsStatus": "sample string 6",
    "Cost": 1.1,
    "Body": "sample string 7",
    "ApiVersion": "sample string 8"
  },
  {
    "Id": 1,
    "AccountSid": "sample string 2",
    "Date": "2024-12-04T08:53:03.7310542-06:00",
    "Direction": "sample string 3",
    "From": "sample string 4",
    "To": "sample string 5",
    "SmsStatus": "sample string 6",
    "Cost": 1.1,
    "Body": "sample string 7",
    "ApiVersion": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInboundMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExtTextMessAPI.Models">
  <InboundMessage>
    <AccountSid>sample string 2</AccountSid>
    <ApiVersion>sample string 8</ApiVersion>
    <Body>sample string 7</Body>
    <Cost>1.1</Cost>
    <Date>2024-12-04T08:53:03.7310542-06:00</Date>
    <Direction>sample string 3</Direction>
    <From>sample string 4</From>
    <Id>1</Id>
    <SmsStatus>sample string 6</SmsStatus>
    <To>sample string 5</To>
  </InboundMessage>
  <InboundMessage>
    <AccountSid>sample string 2</AccountSid>
    <ApiVersion>sample string 8</ApiVersion>
    <Body>sample string 7</Body>
    <Cost>1.1</Cost>
    <Date>2024-12-04T08:53:03.7310542-06:00</Date>
    <Direction>sample string 3</Direction>
    <From>sample string 4</From>
    <Id>1</Id>
    <SmsStatus>sample string 6</SmsStatus>
    <To>sample string 5</To>
  </InboundMessage>
</ArrayOfInboundMessage>