GET api/sms/sent?from[0]={from[0]}&from[1]={from[1]}&to[0]={to[0]}&to[1]={to[1]}

Gives you a list of your sent SMS messages filtered by given URI parameters if given

Request Information

URI Parameters

NameDescriptionTypeAdditional information
from

Filter by sender name or phone number, case insensitive, accepts multiple, optional

Collection of string

None.

to

Filter by recipient phone number, case insensitive, accepts multiple, optional

Collection of string

None.

Body Parameters

None.

Response Information

Resource Description

List of SMS messages

Collection of LoggedOutgoingSMSDTO
NameDescriptionTypeAdditional information
Created

Date when the SMS message was sent

date

None.

CreatedDate

Date when the SMS message was sent

date

Deprecated: Use Created instead

Modified

Date of latest modification/status update

date

None.

UpdatedDate

Date of latest modification/status update

date

Deprecated: Use Modified instead

ID

SMS message ID

integer

None.

BundleID

SMS bundle ID, if any

integer

None.

Status

SMS message status code

integer

None.

StatusDescription

SMS message status description

string

None.

To

Destination phone number

string

None.

CountryCode

Country code of destination phone number if To field is valid, otherwise null

string

None.

Currency

What currency the SMS was payed in. Is displayed as ISO 4217 Alphabetic code

Currency

None.

TotalPrice

The price for sending the entire message

decimal number

None.

Price

The price for sending each segment of the message

decimal number

None.

Encoding

Encoding in which the message was encoded

SmsEncoding

None.

Segments

The number of segments the message consists of

byte

None.

Prio

SMS message priority, normal (1) or high (2)

integer

Deprecated: No longer makes a difference, use 1 if any

Range: inclusive between 1 and 2

From

SMS message sender name or phone number

string

Required

Message

SMS message contents

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Created": "2019-08-19T15:33:26.8146336+00:00",
    "CreatedDate": "2019-08-19T15:33:26.8146336+00:00",
    "Modified": "2019-08-19T15:33:26.8146336+00:00",
    "UpdatedDate": "2019-08-19T15:33:26.8146336+00:00",
    "ID": 1,
    "BundleID": 1,
    "Status": 2,
    "StatusDescription": "Invalid message content",
    "To": "sample string 3",
    "CountryCode": null,
    "Currency": "SEK",
    "TotalPrice": 4.0,
    "Price": 5.0,
    "Encoding": "GSM7",
    "Segments": 1,
    "Prio": 2,
    "From": "sample string 7",
    "Message": "sample string 8"
  },
  {
    "Created": "2019-08-19T15:33:26.8146336+00:00",
    "CreatedDate": "2019-08-19T15:33:26.8146336+00:00",
    "Modified": "2019-08-19T15:33:26.8146336+00:00",
    "UpdatedDate": "2019-08-19T15:33:26.8146336+00:00",
    "ID": 1,
    "BundleID": 1,
    "Status": 2,
    "StatusDescription": "Invalid message content",
    "To": "sample string 3",
    "CountryCode": null,
    "Currency": "SEK",
    "TotalPrice": 4.0,
    "Price": 5.0,
    "Encoding": "GSM7",
    "Segments": 1,
    "Prio": 2,
    "From": "sample string 7",
    "Message": "sample string 8"
  }
]