Get lists

This method allows you to retrieve your lists.

GET

/lists

Examples


GET /lists HTTP/1.1
Host: api.smsfactor.com
Accept: application/json
Authorization: Bearer your.token
      
    

Result Format


{
  "status": 1,
  "message": "OK",
  "lists": [
      {
          "id": "5a0331bffc5886074551ce97",
          "name": "Liste API",
          "date": "2017-12-10 10:36:49",
          "count": "5"
      },
      {
          "id": "5a0331bffc5886074551ce98",
          "name": "2017-12-16 13:42:23",
          "date": "2017-12-16 13:42:23",
          "count": "15000"
      }
  ]
}
          
        

<?xml version="1.0" encoding="UTF-8" ?>
<response>
  <status>1</status>
  <message>OK</message>
  <lists>
    <id>50433</id>
    <name>Liste API</name>
    <date>2017-12-10 10:36:49</date>
    <count>5</count>
  </lists>
  <lists>
    <id>50758</id>
    <name>2017-12-16 13:42:23</name>
    <date>2017-12-16 13:42:23</date>
    <count>15000</count>
  </lists>
</response>