Skip to content

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
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Update the script of the specified webtask

Request

Path
idinteger(int32)required

The webtask's id to update

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.

Bodytext/plain

Data used to update the webtask's script

string
curl -i -X PUT \
  'https://api-cm.np6.com/scripting/webtasks/{id}/script' \
  -H 'Content-Type: text/plain' \
  -H 'X-Key: string' \
  -d string

Responses

The updated webtask

Bodytext/plain
string

Returns a cipher for a specified webtask without any additional data

Request

Path
idinteger(int32)required

The webtask's id to get

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/webtasks/{id}/cipher' \
  -H 'X-Key: string'

Responses

A webtask

Bodyapplication/json
string
Response
application/json
"string"

Returns a cipher for a specified webtask with additional data

Request

Path
idinteger(int32)required

The webtask's id to get

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 POST \
  'https://api-cm.np6.com/scripting/webtasks/{id}/cipher' \
  -H 'X-Key: string'

Responses

A webtask

Bodyapplication/json
string
Response
application/json
"string"
Operations
Operations
Operations
Operations