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

Retrieve all actionsDeprecated

Request

Query
creation_startstring or null(date-time)

Defines a creation start date filter
Specify this parameter to retrieve only actions with a creation date greater than or equal to the specified value
You can use an ISO format date or a timestamp

creation_endstring or null(date-time)

Defines a creation end date filter
Specify this parameter to retrieve only actions with a creation date less than the specified value
You can use an ISO format date or a timestamp

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/actions?creation_end=2019-08-24T14%3A15%3A22Z&creation_start=2019-08-24T14%3A15%3A22Z' \
  -H 'X-Key: string'

Responses

An array of actions

Bodyapplication/jsonArray [
typestring
Discriminator
idstring

The action's identifier

namestring

The action's name

creationDatestring(date-time)

The action's creation date, in UTC

informationsobject

Informations

folderinteger or null(int32)

Defines the folder in which the action is stored

categoryinteger or null(int32)

Defines the category of the action

stateinteger or null(int32)

Defines the current state of the action

Enum10203035363840505560
settingsobject

Settings

schedulerobject

Scheduler

typestring
Discriminator
startDatestring or null(date-time)

StartDate

endDatestring or null(date-time)

EndDate

monitorobject

Monitor

lastSentobject

LastSent

]
Response
application/json
[ { "type": "string" } ]

Export a list of all recipients of an action Deprecated

Request

Path
idstringrequired

The action's id

Query
startDatestring or null(date-time)

(optional) The export starting date

endDatestring or null(date-time)

(optional) The export ending date

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/actions/{id}/export/recipients?endDate=2019-08-24T14%3A15%3A22Z&startDate=2019-08-24T14%3A15%3A22Z' \
  -H 'X-Key: string'

Responses

No Content

Export a list of recipients who have opened an actionDeprecated

Request

Path
idstringrequired

The action's id

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/actions/{id}/export/tracking/opens' \
  -H 'X-Key: string'

Responses

No Content

Notification

Operations

Archives

Operations

Email & SMS

Operations

Notification

Operations

Display

Operations

Email & SMS

Operations

Notification

Operations

Workflow

Operations

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