The action's id to render
- Send a message
Retrieve the specified action
Update an action
Delete an action
Create an action
Duplicate an action
Test or validate an action
Unvalidate 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
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
- Production serverhttps://api-cm.np6.com/actions/{id}/render/links
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/actions/{id}/render/links' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"receiver": {
"type": "string"
},
"data": {},
"variables": [
{}
],
"context": {
"id": "string",
"display": 0,
"render": 0,
"recipient": "string"
},
"stamp": {
"time": 0,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"thread": "4e557e2e-a322-4083-8cda-d0357ed0cb0c",
"set": "6218c222-bd9f-4d43-9cbb-d1adfe7e63bd"
},
"links": [
{
"type": "string"
}
]
}'Response
application/json
{ "type": "success", "links": [ "string" ] }
Bodyapplication/json
The message request model
If the message is an email, the content of the message will be replaced by this parameter
- Production serverhttps://api-cm.np6.com/actions/{id}/targets/{targetId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/actions/{id}/targets/{targetId}' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"data": {},
"content": {
"html": "string",
"text": "string"
},
"header": {
"subject": "string",
"mailFrom": "string",
"replyTo": "string"
}
}'