This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
Retrieve subscriptions for the specified contact id
Request
Path
idstringrequired
The id of the contact used to retrieve the subscriptions
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/targets/{id}/subscriptions
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/targets/{id}/subscriptions' \ -H 'X-Key: string'
Responses
A list of subscriptions
Bodyapplication/jsonArray [
idstring(uuid)
Defines the subscription ID.
lifecycleobject
Defines the lifecycle information of the subscription.
creationobject
Defines the creation information for a resource.
modificationobject
Defines the modification information for a resource.
applicationstring(uuid)
Defines the application associated with the subscription.
providerobject
Defines the provider information used to push notifications.
The id of the contact used to delete the subscriptions
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/targets/{id}/subscriptions
Retrieve subscriptions for the specified contact unicity
Request
Query
unicitystringrequired
The unicity of the contact used to retrieve the subscriptions
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/targets/subscriptions?unicity=
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/targets/subscriptions?unicity=' \ -H 'X-Key: string'
Responses
A list of subscriptions
Bodyapplication/jsonArray [
idstring(uuid)
Defines the subscription ID.
lifecycleobject
Defines the lifecycle information of the subscription.
creationobject
Defines the creation information for a resource.
modificationobject
Defines the modification information for a resource.
applicationstring(uuid)
Defines the application associated with the subscription.
providerobject
Defines the provider information used to push notifications.