This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
Defines a start date filter Specify this parameter to retrieve only events with a timestamp greater than or equal to the specified value You can use an ISO format date or a timestamp
endstring(date-time)
Defines an end date filter Specify this parameter to retrieve only events with a timestamp less than the specified value You can use an ISO format date or a timestamp
sortstring
Defines a sort order applied on events timestamp By default, events are unordered and may not streamed in the same order between two requests You should use this query parameter if you want to guarantee the sort order of events
Enum"asc""desc"
classificationstring
Defines a classifications filter Specify this parameter to retrieve only events with robot classification or all hits You can use a list of string separeted with ',' for example classifications=genericrobot,mpp,gsr (mpp: Apple Mail Privacy Proxy, gsr: Google Security Robot) You should use this query parameter if you want to get the hit events classified as robot
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.
Production server https://api-cm.np6.com/actions/{id}/events/hits/mirror
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/actions/{id}/events/hits/mirror?classification=string&end=2019-08-24T14%3A15%3A22Z&sort=asc&start=2019-08-24T14%3A15%3A22Z' \ -H 'X-Key: string'
Responses
An array of mirror hit events
Bodyapplication/jsonArray [
idstring(uuid)
Uuid of the event
timestampinteger(int64)
Publication timestamp of the event This is the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC.
Defines a start date filter Specify this parameter to retrieve only events with a timestamp greater than or equal to the specified value You can use an ISO format date or a timestamp
endstring(date-time)
Defines an end date filter Specify this parameter to retrieve only events with a timestamp less than the specified value You can use an ISO format date or a timestamp
sortstring
Defines a sort order applied on events timestamp By default, events are unordered and may not streamed in the same order between two requests You should use this query parameter if you want to guarantee the sort order of events
Enum"asc""desc"
classificationstring
Defines a classifications filter Specify this parameter to retrieve only events with robot classification or all hits You can use a list of string separeted with ',' for example classifications=genericrobot,mpp,gsr (mpp: Apple Mail Privacy Proxy, gsr: Google Security Robot) You should use this query parameter if you want to get the hit events classified as robot
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.
Production server https://api-cm.np6.com/actions/{id}/events/hits/form
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/actions/{id}/events/hits/form?classification=string&end=2019-08-24T14%3A15%3A22Z&sort=asc&start=2019-08-24T14%3A15%3A22Z' \ -H 'X-Key: string'
Responses
An array of form hit events
Bodyapplication/jsonArray [
idstring(uuid)
Uuid of the event
timestampinteger(int64)
Publication timestamp of the event This is the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC.