Retrieve subscriptions for the specified contact hash
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.
Delete subscriptions for the specified contact unicity
Request
Query
unicitystringrequired
The unicity 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/subscriptions?unicity=
Retrieve subscriptions for the specified contact hash
Request
Query
hashstringrequired
The hash 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?hash=
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/targets/subscriptions?hash=' \ -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.
Delete subscriptions for the specified contact hash
Request
Query
hashstringrequired
The hash 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/subscriptions?hash=