NPAI

This method allows you to retrieve your NPAI list. The numbers in your NPAI list are automatically removed during your SMS sendings.

GET

/npai

Examples


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

Result Format


{
  "status": 1,
  "message": "OK",
  "list": [
      {
          "id": "5a4e49d9fc5886067c13f533",
          "destination": "33612345678",
          "date": "2024-11-21 09:41:19",
          "info1": "Douglas",
          "info2": "Adams",
          "info3": "1952",
          "info4": "Cambridge",
          "user_information": [],
          "campaign_id": 47856851,
          "batch_id": null
      },
      {
          "id": "5a4e4a00fc5886067c13f534",
          "destination": "33612345677",
          "date": "2024-11-21 09:41:19",
          "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-11-21 09:41:19</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-11-21 09:41:19</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>