The id of the action
- Unvalidate an action
Retrieve the specified action
Update an action
Delete an action
Create an action
Duplicate an action
Test or validate an action
Render multiple messages
Render a message
Send messages
Send message
Retrieve all actions
Export a list of all recipients of an action
Export a list of recipients who have opened an action
Export a list of recipients who have clicked a link on receipt of an action
Render links
Send a message
Unvalidate an action
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.
Languages
Servers
Production server
https://api-cm.np6.com
Bodyapplication/json
Data used to validate the action or to launch the test phase of the action
Defines the use of the campaign analyser - the feature needs to be activated for the account
- Production serverhttps://api-cm.np6.com/actions/{id}/validation
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/actions/{id}/validation' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"fortest": true,
"campaignAnalyser": true,
"testSegments": [
0
],
"mediaForTest": "string",
"textandHtml": true,
"comments": "string",
"variables": [
{}
]
}'Bodyapplication/json
Data used to unvalidate the action
Defines the use of the campaign analyser - the feature needs to be activated for the account
- Production serverhttps://api-cm.np6.com/actions/{id}/validation
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/actions/{id}/validation' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"fortest": true,
"campaignAnalyser": true,
"testSegments": [
0
],
"mediaForTest": "string",
"textandHtml": true,
"comments": "string",
"variables": [
{}
]
}'Body Array [ ]
- application/vnd.np6.cm.email
- application/vnd.np6.cm.sms
A list of render definitions
The receiver identification
The related identification
Stamp data
Headers overrides
Content override
Views overrides
- Production serverhttps://api-cm.np6.com/actions/{id}/renders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/actions/{id}/renders' \
-H 'Content-Type: application/vnd.np6.cm.email' \
-H 'X-Key: string' \
-d '[object Object]'Response
application/json
[ { "type": "string" } ]