Blacklist

Questo metodo ti permette di visualizzare la tua lista nera. Un contatto che risponde STOP o si disiscrive cliccando sul link verrà trasferito automaticamente nella tua lista nera.

GET

/blacklist

Esempi


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

Formato della risposta


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

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