A unique API key used to authenticate requests to the NP6 platform. This key must be included in every API call to validate the identity and permissions of the client. Keep your API key secure and do not expose it in public code or logs.
- Retrieve the specified notification
Retrieve all notifications
Create a 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
Duplicates a notification
Activates a notification
Deactivates a notification
Retrieve the specified no...
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 create the notification
Defines the stamp informations of the notification
Notification settings
Defines a task used to specify how to trigger the notification
Defines versions of the notification
- Production serverhttps://api-cm.np6.com/notifications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-cm.np6.com/notifications \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"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"
}
}
]
}'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}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/notifications/{id}' \
-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" } } ] }
Bodyapplication/json
Data used to update the notification
Defines the stamp informations of the notification
Notification settings
Defines a task used to specify how to trigger the notification
Defines versions of the notification
- Production serverhttps://api-cm.np6.com/notifications/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/notifications/{id}' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"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"
}
}
]
}'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" } } ] }