The total number of targets
- Put the target in redlist's mail
NP6 API Reference (8.1.0)
This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
If you have any questions or need assistance, please contact our support team at https://support.chapsvision.com.
- Production serverhttps://api-cm.np6.com/targets/count
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api-cm.np6.com/targets/count{ "targetsCount": 0 }
The origin of the redlist
Unknown type : 0 Listed by API : 1 Listed by imports : 2 Listed by form : 3 Listed in unsubscribe redlist : 4 Listed in complaint : 5 Listed in SMS Stop : 6 Listed in SMS Blacklist : 7 Listed in SMS admnistrative : 8 Listed in SMS specific : 9
- Production serverhttps://api-cm.np6.com/targets/{id}/redlist/mail
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/targets/{id}/redlist/mail' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"id": "string",
"timestamp": "2019-08-24T14:15:22Z",
"origin": 0,
"detail": {}
}'The origin of the redlist
Unknown type : 0 Listed by API : 1 Listed by imports : 2 Listed by form : 3 Listed in unsubscribe redlist : 4 Listed in complaint : 5 Listed in SMS Stop : 6 Listed in SMS Blacklist : 7 Listed in SMS admnistrative : 8 Listed in SMS specific : 9
- Production serverhttps://api-cm.np6.com/targets/{id}/redlist/sms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/targets/{id}/redlist/sms' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"id": "string",
"timestamp": "2019-08-24T14:15:22Z",
"origin": 0,
"detail": {}
}'