The notification's id to execute
- Test the "master" version of the specified 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 specified version of the specified notification
Execute the specified notification
Execute the specified notification
Duplicates a notification
Activates a notification
Deactivates a notification
Test the "master" version...
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/notifications/{id}/versions/{version}/render/contact?hash=
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/notifications/{id}/versions/{version}/render/contact?hash=string' \
-H 'X-Key: string'Response
application/json
{ "type": "success", "meta": { "notification": 0, "version": "8b898373-21c7-4028-b85f-cc5068e68df9", "application": "2b22d485-f04e-492b-b364-e14f8506726a", "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8", "stamp": { "time": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "thread": "4e557e2e-a322-4083-8cda-d0357ed0cb0c", "set": "6218c222-bd9f-4d43-9cbb-d1adfe7e63bd" }, "channel": "string", "redirection": "string" }, "render": { "title": "string", "body": "string", "icon": "string", "thumbnail": "string", "image": "string" }, "tracking": { "radical": "string", "impression": "string", "redirection": "string", "dismiss": "string", "optout": { "global": "string", "channel": "string" } } }
- Production serverhttps://api-cm.np6.com/notifications/{id}/test
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/notifications/{id}/test' \
-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": [
{}
],
"expiration": {
"type": "string"
},
"redirection": {
"type": "string"
},
"channel": {
"type": "string"
}
}'Response
application/json
{ "type": "success", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "results": [ { "type": "string" } ] }
- Production serverhttps://api-cm.np6.com/notifications/{id}/versions/{version}/test
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/notifications/{id}/versions/{version}/test' \
-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": [
{}
],
"expiration": {
"type": "string"
},
"redirection": {
"type": "string"
},
"channel": {
"type": "string"
}
}'Response
application/json
{ "type": "success", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "results": [ { "type": "string" } ] }