The notification's id to execute
- Duplicates a notification
Retrieve all notifications
Create a notification
Retrieve the specified notification
Update a notification
Delete a notification
Render the "master" version of the specified notification
Render the "master" version of the specified notification and the specified contact id
Render the "master" version of the specified notification and the specified contact unicity
Render the "master" version of the specified notification and the specified contact hash
Render the specified version of the specified notification
Render the specified version of the specified notification and the specified contact id
Render the specified version of the specified notification and the specified contact unicity
Render the specified version of the specified notification and the specified contact hash
Test the "master" version of the specified notification
Test the specified version of the specified notification
Execute the specified notification
Execute the specified notification
Activates a notification
Deactivates a notification
Duplicates a notification
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 Array [ ]
A list of data used to execute the notification
Defines the recipient identification
Defines the overriden underlying channel used to display the notification
Defines stamp informations used to track conversation flow
- Production serverhttps://api-cm.np6.com/notifications/{id}/executions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/notifications/{id}/executions' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '[
{
"recipient": {
"type": "string"
},
"title": "string",
"body": "string",
"icon": "string",
"thumbnail": "string",
"image": "string",
"data": {},
"variables": [
{}
],
"redirection": {
"type": "string"
},
"channel": {
"type": "string"
},
"stamp": {
"time": 0,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"thread": "4e557e2e-a322-4083-8cda-d0357ed0cb0c",
"set": "6218c222-bd9f-4d43-9cbb-d1adfe7e63bd"
},
"urgent": true
}
]'Response
application/json
[ { "type": "string" } ]
- Production serverhttps://api-cm.np6.com/notifications/{id}/duplication
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/notifications/{id}/duplication' \
-H 'X-Key: string'Response
application/json
{ "type": "push-app", "id": 0, "name": "string", "description": "string", "stamp": { "creation": "2019-08-24T14:15:22Z", "modification": "2019-08-24T14:15:22Z" }, "active": true, "settings": { "urgent": true, "category": 0, "purpose": { "type": "string" }, "expiration": { "type": "string" }, "mp": {} }, "application": "2b22d485-f04e-492b-b364-e14f8506726a", "task": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "scheduler": { "type": "string" } }, "versions": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "master": true, "label": "string", "stamp": { "creation": "2019-08-24T14:15:22Z", "modification": "2019-08-24T14:15:22Z" }, "scripting": { "version": "string" }, "content": { "type": "string" }, "redirection": { "type": "string" }, "channel": { "type": "string" } } ] }
- Production serverhttps://api-cm.np6.com/notifications/{id}/activation
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/notifications/{id}/activation' \
-H 'X-Key: string'