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/

Good to know

Email & SMS

Operations

Notification

Operations

Archives

Operations

Email & SMS

Operations

Notification

Operations

Display

Operations

Email & SMS

Operations

Notification

Operations

Workflow

Operations

Retrieve scheduler tasks of the specified workflow

Request

Path
idinteger(int32)required

Defines the workflow's id to retrieve scheduler tasks

Headers
X-Keystringrequired

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.

curl -i -X GET \
  'https://api-cm.np6.com/scripting/workflows/{id}/tasks' \
  -H 'X-Key: string'

Responses

An array of scheduler tasks

Bodyapplication/jsonArray [
idstring

Id of the task

namestring

Name of the task

descriptionstring

Description of the task

schedulersArray of objects

The schedulers of the task

typestring
Discriminator
idstring

Id of the scheduler

namestring

Name of the scheduler

timeZoneobject

The time zone of the scheduler

minutestring

Minute

hourstring

Hour

dayOfMonthstring

Day of month

monthstring

Month

dayOfWeekstring

Day of week

providerobject

The data provider of the task

typestring
Discriminator
valueobject

Used to define underlying search

projectionobject

Used to provide context data to underlying workflow

handlerstring

The task's node handler

]
Response
application/json
[ { "id": "string", "name": "string", "description": "string", "schedulers": [ { "type": "string" } ], "provider": { "type": "string" }, "handler": "string" } ]

Update scheduler tasks of the specified workflow

Request

Path
idinteger(int32)required

Defines the workflow's id to update scheduler tasks

Headers
X-Keystringrequired

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 update scheduler tasks of the workflow

Array [
idstring

Id of the task

namestring

Name of the task

descriptionstring

Description of the task

schedulersArray of objects

The schedulers of the task

typestring
Discriminator
idstring

Id of the scheduler

namestring

Name of the scheduler

timeZoneobject

The time zone of the scheduler

minutestring

Minute

hourstring

Hour

dayOfMonthstring

Day of month

monthstring

Month

dayOfWeekstring

Day of week

providerobject

The data provider of the task

typestring
Discriminator
valueobject

Used to define underlying search

projectionobject

Used to provide context data to underlying workflow

handlerstring

The task's node handler

]
curl -i -X PUT \
  'https://api-cm.np6.com/scripting/workflows/{id}/tasks' \
  -H 'Content-Type: application/json' \
  -H 'X-Key: string' \
  -d '[
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "schedulers": [
        {
          "type": "string"
        }
      ],
      "provider": {
        "type": "string"
      },
      "handler": "string"
    }
  ]'

Responses

An array of updated scheduler tasks

Bodyapplication/jsonArray [
idstring

Id of the task

namestring

Name of the task

descriptionstring

Description of the task

schedulersArray of objects

The schedulers of the task

typestring
Discriminator
idstring

Id of the scheduler

namestring

Name of the scheduler

timeZoneobject

The time zone of the scheduler

minutestring

Minute

hourstring

Hour

dayOfMonthstring

Day of month

monthstring

Month

dayOfWeekstring

Day of week

providerobject

The data provider of the task

typestring
Discriminator
valueobject

Used to define underlying search

projectionobject

Used to provide context data to underlying workflow

handlerstring

The task's node handler

]
Response
application/json
[ { "id": "string", "name": "string", "description": "string", "schedulers": [ { "type": "string" } ], "provider": { "type": "string" }, "handler": "string" } ]

Delete scheduler tasks of the specified workflow

Request

Path
idinteger(int32)required

The workflow's id to delete tasks

Headers
X-Keystringrequired

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.

curl -i -X DELETE \
  'https://api-cm.np6.com/scripting/workflows/{id}/tasks' \
  -H 'X-Key: string'

Responses

No Content

Campaign

Operations

Campaign

Operations

Contact

Operations

Field

Operations

Enumeration

Operations

Segment

Operations

Import

Operations

Subscription

Operations

Contact

Operations

Webtask

Operations

Compilable

Operations

Mobile Application

Operations

Category

Operations

Marketing Pressure

Operations