Blacklist

Cette méthode vous permet de récupérer votre blacklist. Un contact qui répond STOP à l'un de vos messages ou se désabonne via le lien sera directement déplacé dans votre blacklist.

GET

/blacklist

Exemples


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

Format de la réponse


{
  "status": 1,
  "message": "OK",
  "list": [
      {
          "id": "5a4e49d9fc5886067c13f533",
          "destination": "33608070605",
          "info1": "Isaac",
          "info2": "Asimov",
          "info3": "1919",
          "info4": "Petrovichi"
      },
      {
          "id": "5a4e4a00fc5886067c13f534",
          "destination": "33609080706",
          "info1": "Howard",
          "info2": "Phillips",
          "info3": "Lovecraft",
          "info4": ""
      }
  ],
  "totalRecords": 2,
  "totalDisplayRecords": 2
}
          
        

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>1</status>
    <message>OK</message>
    <list>
        <id>5a4e49d9fc5886067c13f533</id>
        <destination>33608070605</destination>
        <info1>Isaac</info1>
        <info2>Asimov</info2>
        <info3>1919</info3>
        <info4>Petrovichi</info4>
    </list>
    <list>
        <id>5a4e4a00fc5886067c13f534</id>
        <destination>33609080706</destination>
        <info1>Howard</info1>
        <info2>Phillips</info2>
        <info3>Lovecraft</info3>
        <info4></info4>
    </list>
    <totalRecords>2</totalRecords>
    <totalDisplayRecords>2</totalDisplayRecords>
</response>