The workflow's id to update listeners
- Delete listeners of the specified workflow
Retrieve all workflows
Create a workflow
Retrieve listeners of the specified workflow
Update listeners of the specified workflow
Retrieve scheduler tasks of the specified workflow
Update scheduler tasks of the specified workflow
Delete scheduler tasks of the specified workflow
Retrieve the specified workflow
Update a workflow
Delete a workflow
Update a workflow
Retrieve scripting settings of the specified workflow
Update scripting settings of the specified workflow
Delete scripting settings of the specified workflow
Update scripting settings of the specified workflow
Retrieve settings of the specified workflow
Update settings of the specified workflow
Delete settings of the specified workflow
Update settings of the specified workflow
Retrieve nodes of the specified workflow
Update nodes of the specified workflow
Delete nodes of the specified workflow
Retrieve nodes of the specified workflow
Update capping of the specified workflow
Delete capping of the specified workflow
activate the specified workflow
deactivate the specified workflow
duplicate the specified workflow
Execute the specified workflow
Execute the specified workflow
Execute the specified task of the specified workflow
Delete listeners of the s...
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 [ ]
Data used to update listeners of the workflow
The listener's event
Discriminator
- tracking.open
- tracking.redirect
- web.view
- smtp.received
- smtp.bounced
- datamanager
- marker.view
- contact/creation
- contact/modification
- contact/deletion
- ai/tracking.redirect
- ai/smtp.received
- ai/datamanager.row.created
- ai/datamanager.row.modified
- ai/datamanager.row.deleted
- ai/marker.view
- Production serverhttps://api-cm.np6.com/scripting/workflows/{id}/listeners
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/scripting/workflows/{id}/listeners' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '[
{
"id": "string",
"name": "string",
"description": "string",
"event": {
"type": "string"
},
"handler": "string"
}
]'An array of updated listeners
The listener's event
Discriminator
- tracking.open
- tracking.redirect
- web.view
- smtp.received
- smtp.bounced
- datamanager
- marker.view
- contact/creation
- contact/modification
- contact/deletion
- ai/tracking.redirect
- ai/smtp.received
- ai/datamanager.row.created
- ai/datamanager.row.modified
- ai/datamanager.row.deleted
- ai/marker.view
Response
application/json
[ { "id": "string", "name": "string", "description": "string", "event": { "type": "string" }, "handler": "string" } ]
- Production serverhttps://api-cm.np6.com/scripting/workflows/{id}/listeners
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/scripting/workflows/{id}/listeners' \
-H 'X-Key: string'- Production serverhttps://api-cm.np6.com/scripting/workflows/{id}/tasks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/scripting/workflows/{id}/tasks' \
-H 'X-Key: string'Response
application/json
[ { "id": "string", "name": "string", "description": "string", "schedulers": [ { "type": "string" } ], "provider": { "type": "string" }, "handler": "string" } ]