The notification's id to render
- Render the specified version of the specified notification and the specified contact id
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 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
Duplicates a notification
Activates a notification
Deactivates a notification
Render the specified vers...
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 render the notification
The receiver identification
The related identification
Stamp informations
The related identification
- Production serverhttps://api-cm.np6.com/notifications/{id}/versions/{version}/render
- 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}/render' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"receiver": {
"id": "string",
"unicity": "string",
"hash": "string",
"creation": "2019-08-24T14:15:22Z",
"update": "2019-08-24T14:15:22Z",
"fields": {}
},
"related": {
"id": "string",
"unicity": "string",
"hash": "string",
"creation": "2019-08-24T14:15:22Z",
"update": "2019-08-24T14:15:22Z",
"fields": {}
},
"stamp": {
"time": 0,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"thread": "4e557e2e-a322-4083-8cda-d0357ed0cb0c",
"set": "6218c222-bd9f-4d43-9cbb-d1adfe7e63bd"
},
"context": {
"data": {},
"variables": [
{}
],
"display": 0
},
"title": "string",
"body": "string",
"icon": "string",
"thumbnail": "string",
"image": "string",
"redirection": {
"type": "string"
},
"channel": {
"type": "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}/versions/{version}/render/contact/{contact}
- 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/{contact}' \
-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}/versions/{version}/render/contact?unicity=
- 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?unicity=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" } } }