Blacklist the NPAI of a campaign

This method allows you to add the NPAI of your campaign into your NPAI list.

PUT

/campaign/:id/npai

Query Parameters

id
required
The campaign id

Examples


PUT /campaign/6666723/npai HTTP/1.1
Host: api.smsup.ch
Authorization: Bearer your.token
Accept: application/json
          
        

Result Format


{
    "status": 1,
    "message": "OK",
    "NPAI": 2
}
          
        

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>1</status>
    <message>OK</message>
    <NPAI>2</NPAI>
</response>