Skip to content

QuerySMSList

Query details about SMS sent with the given account. Useful for delivery notifications or accountings.

The following parameters are standard parameters for this command.

Command
command = QuerySMSList
accountid =(TEXT)
Response
code =(INT)
description =(TEXT)
property[smsid][0] = 1234567
property[status][0] = SEND|DELIVERED|BUFFERED|FAILED|EXPIRED|REJECTED|ERROR|UNKNOWN
property[recipient][0] = 0049123456xxx
property[date][0] = 2009-06-02 08:32:37
property[count][0] =(INT)
property[first][0] =(INT)
property[last][0] =(INT)
property[limit][0] =(INT)
property[total][0] =(INT)
ACCOUNTIDID of the account to be queried
SMSIDUnique ID of this transaction
STATUSthe following states may occur:
SEND: SMS delivery in progress
DELIVERED: Message successfully delivered
BUFFERED: Message buffered, usually because it failed first time and is now being retried
FAILED: The message failed to deliver
EXPIRED: Message expired, could not be delivered within the validity period
REJECTED: Message rejected by SMSC
ERROR: Internal error, message could not be processed this time
UNKNOWN: SMS - server has returned a non standard status code or no response within 24 hours
RECIPIENTThe recipient of the SMS, last 3 characters anonymised
DATEDate the SMS was sent

The following parameters are optional for this command.

Command
command = QuerySMSList
accountid =(TEXT)
wide =(0|1)
recipient =(TEXT)
mindate =(DATE)
maxdate =(DATE)
smsid =(TEXT)
first =(INT)
limit =(INT)
Response
code =(INT)
description =(TEXT)
property[smsid][0] = 1234567
property[status][0] = SEND|DELIVERED|BUFFERED|FAILED|EXPIRED|REJECTED|ERROR|UNKNOWN
property[recipient][0] = 0049123456xxx
property[date][0] = 2009-06-02 08:32:37
property[count][0] =(INT)
property[first][0] =(INT)
property[last][0] =(INT)
property[limit][0] =(INT)
property[total][0] =(INT)
WIDEShow more or less details (optional)
RECIPIENTShow only this recipient of sms, wildcard allowed (i.e. *1234*, optional)
MINDATEShow only SMS sent since this date (optional)
MAXDATEShow only SMS sent before this date (optional)
SMSIDShow only SMS matching with this ID, wildcard allowed (i.e. *123*, optional)
FIRSTFirst result to display (optional)
LIMITLimits the number of results to given number (optional)