The action's id
- Retrieve the specified 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.
- Production serverhttps://api-cm.np6.com/actions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/actions/{id}' \
-H 'X-Key: string'The action
Defines general informations of the action
Defines general settings of the email action
Defines the priority of the email action. Set this property to "true" for high priority, which will utilize a dedicated queue. Set to "false" otherwise.
Defines the importance of the action. Set this property to "true" to mark the email as "important" and display an exclamation point in supported webmail clients. Set to "false" otherwise.
{ "type": "mailMessage", "id": "string", "name": "string", "description": "string", "creationDate": "2019-08-24T14:15:22Z", "informations": { "folder": 0, "category": 0, "state": 10 }, "settings": { "templating": { "version": "string" }, "editionMode": 0, "purpose": { "type": "string" }, "consent": 0, "priority": true, "importance": true, "environment": {}, "field": 0, "culture": "string", "contentFormat": 1, "useFormLinkSSL": true, "sendingProfile": 0, "performance": { "openingRate": 0.1, "clickRate": 0.1, "unsubscribedRate": 0.1 }, "mp": { "use": true, "increment": true }, "webAnalyser": 0, "archive": true }, "content": { "headers": { "from": { "prefix": "string", "domain": "string", "label": "string" }, "reply": "string" }, "subject": "string", "html": "string", "text": "string" } }
Data used to update the action
Defines general informations of the action
Defines general settings of the email action
Defines the priority of the email action. Set this property to "true" for high priority, which will utilize a dedicated queue. Set to "false" otherwise.
Defines the importance of the action. Set this property to "true" to mark the email as "important" and display an exclamation point in supported webmail clients. Set to "false" otherwise.
- Production serverhttps://api-cm.np6.com/actions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/actions/{id}' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"type": "mailMessage",
"id": "string",
"name": "string",
"description": "string",
"creationDate": "2019-08-24T14:15:22Z",
"informations": {
"folder": 0,
"category": 0,
"state": 10
},
"settings": {
"templating": {
"version": "string"
},
"editionMode": 0,
"purpose": {
"type": "string"
},
"consent": 0,
"priority": true,
"importance": true,
"environment": {},
"field": 0,
"culture": "string",
"contentFormat": 1,
"useFormLinkSSL": true,
"sendingProfile": 0,
"performance": {
"openingRate": 0.1,
"clickRate": 0.1,
"unsubscribedRate": 0.1
},
"mp": {
"use": true,
"increment": true
},
"webAnalyser": 0,
"archive": true
},
"content": {
"headers": {
"from": {
"prefix": "string",
"domain": "string",
"label": "string"
},
"reply": "string"
},
"subject": "string",
"html": "string",
"text": "string"
}
}'The updated action
Defines general informations of the action
Defines general settings of the email action
Defines the priority of the email action. Set this property to "true" for high priority, which will utilize a dedicated queue. Set to "false" otherwise.
Defines the importance of the action. Set this property to "true" to mark the email as "important" and display an exclamation point in supported webmail clients. Set to "false" otherwise.
{ "type": "mailMessage", "id": "string", "name": "string", "description": "string", "creationDate": "2019-08-24T14:15:22Z", "informations": { "folder": 0, "category": 0, "state": 10 }, "settings": { "templating": { "version": "string" }, "editionMode": 0, "purpose": { "type": "string" }, "consent": 0, "priority": true, "importance": true, "environment": {}, "field": 0, "culture": "string", "contentFormat": 1, "useFormLinkSSL": true, "sendingProfile": 0, "performance": { "openingRate": 0.1, "clickRate": 0.1, "unsubscribedRate": 0.1 }, "mp": { "use": true, "increment": true }, "webAnalyser": 0, "archive": true }, "content": { "headers": { "from": { "prefix": "string", "domain": "string", "label": "string" }, "reply": "string" }, "subject": "string", "html": "string", "text": "string" } }
- Production serverhttps://api-cm.np6.com/actions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/actions/{id}' \
-H 'X-Key: string'