Retrieve message(s) from one account. Filter by specifying type or date range.
price: free!
<result>
<messages>
<message>
<id> int </id>
<type> enum (email, sms, icq, fax, phone, group, script, page, msn, jabber, nabaztag, action, twitter, rss, push) </type>
<alerttype> string </alerttype>
<address> string (255) </address>
<detail> string </detail>
<gw> string </gw>
<status> int </status>
<rid> unsigned int </rid>
<severity> unsigned int </severity>
<rootcause> string </rootcause>
<sent> datetime </sent>
</message>
...
</messages>
<cursor> unsigned int </cursor>
</result>
(presence of output fields depends on input parameters)| code | description |
|---|---|
| 0 | okay |
| 1000 | authentication error |
| 1001 | call syntax error |
| 1002 | undefined name or id |
| 1003 | account limit exceeded |
| 1004 | database error |
| 1005 | duplicate entry |
| 1006 | upgrade account |
| 1007 | not yours (anymore) |
| 1008 | session expired |
| 1009 | insufficient credits |
| 1010 | messaging error |
| 1011 | undefined result |
| 1012 | cannot perform that operation |
| 1013 | illegal parameter value |
| 1014 | TOS restriction |
| 1015 | unconfirmed address |
| 1016 | contact helpdesk first |
| 9999 | unsupported feature |
| 1017 | value not allowed |