NPAI
Mit dieser Methode können Sie Ihre NZN-Liste abrufen. Nummern in Ihrer NZN-Liste (nicht zugewiesene Nummern) werden automatisch aus den SMS-Versandlisten gelöscht.
GET
/npai
Beispiele
GET /npai HTTP/1.1
Host: api.smsfactor.com
Accept: application/json
Authorization: Bearer your.token
Ergebnisformat
{
"status": 1,
"message": "OK",
"list": [
{
"id": "5a4e49d9fc5886067c13f533",
"destination": "33612345678",
"date": "2024-10-11 03:00:13",
"info1": "Douglas",
"info2": "Adams",
"info3": "1952",
"info4": "Cambridge",
"user_information": [],
"campaign_id": 47856851,
"batch_id": null
},
{
"id": "5a4e4a00fc5886067c13f534",
"destination": "33612345677",
"date": "2024-10-11 03:00:13",
"info1": "Frank",
"info2": "Herbert",
"info3": "1920",
"info4": "Tacoma",
"user_information": [],
"campaign_id": 47858459,
"batch_id": null
}
],
"totalRecords": 2,
"totalDisplayRecords": 2
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<list>
<id>5a4e49d9fc5886067c13f533</id>
<destination>33612345678</destination>
<date>2024-10-11 03:00:13</date>
<info1>Douglas</info1>
<info2>Adams</info2>
<info3>1952</info3>
<info4>Cambridge</info4>
<user_information></user_information>
<campaign_id>47856851</campaign_id>
<batch_id>null</batch_id>
</list>
<list>
<id>5a4e4a00fc5886067c13f534</id>
<destination>33612345677</destination>
<date>2024-10-11 03:00:13</date>
<info1>Frank</info1>
<info2>Herbert</info2>
<info3>1920</info3>
<info4>Tacoma</info4>
<user_information></user_information>
<campaign_id>47858459</campaign_id>
<batch_id>null</batch_id>
</list>
<totalRecords>2</totalRecords>
<totalDisplayRecords>2</totalDisplayRecords>
</response>