This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
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.
Production server https://api-cm.np6.com/scripting/workflows
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ https://api-cm.np6.com/scripting/workflows \ -H 'X-Key: string'
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.
Bodyapplication/json
Data used to create the workflow
idinteger(int32)
The workflow's id
namestring
The workflow's name
descriptionstring
The workflow's description
stateinteger(int32)
The workflow's State
Enum01
creationDatestring(date-time)
The workflow's creation date
updateDatestring(date-time)
The workflow's creation date
scriptingobject
The workflow's script settings
versionstring
Discriminator
environmentobject
Environment definition
importsArray of objects
Imports definition
initializersArray of objects
Initializers definition
filtersArray of objects
Filters definition
settingsobject
The workflow's settings
listenersArray of objects
The workflow's listeners
idstring
The listener's id
namestring
The listener's name
descriptionstring
The listener's description
eventobject
The listener's event
handlerstring
The listener's node handler
cappingArray of objects
The workflow's capping definition
keyobject
The key used to store incremental value
incrementinteger(int32)
The value used to increment key value
thresholdinteger(int32)
The threshold used to handle capping decision
periodobject
The period used to handle capping decision
nodesArray of strings
the id of the workflow nodes to cap
nodesArray of objects
The workflow's nodes
typestring
Discriminator
publish
request
script
sendMail
mail
sendSms
sms
sleep
wait
wait.kill
updateTarget
multipleslots
sendpushapp
data-manager/pipeline
data-table/pipeline
np6.notification/execution
if
match
sample
split
switch
wait.race
wait.all
conditionaltimeslots
data-explorer-v2.match
terminal
idstring
The node's id
namestring
The node's name
descriptionstring
The node's description
defaultboolean
The "entry point" node's capabilites
settingsobject
The node settings
nextstring
The next identifier of the node to execute
eventobject
Name of the event to emit
dataobject
Evaluated data used to emit event
flowobjectDeprecated
The node's control flow
tasksArray of objects
The workflows's scheduler tasks
idstring
Id of the task
namestring
Name of the task
descriptionstring
Description of the task
schedulersArray of objects
The schedulers of the task
providerobject
The data provider of the task
handlerstring
The task's node handler
Production server https://api-cm.np6.com/scripting/workflows
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.
Production server https://api-cm.np6.com/scripting/workflows/{id}/listeners
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/scripting/workflows/{id}/listeners' \ -H 'X-Key: string'