Gets information about the active subscriptions associated with the authenticated caller.
GET {{baseUrl}}/api/notifications/subscriptions
Subscriptions are maintained on the basis of username and client id. Only subscriptions that have been created and are active for the username and client id pair of the caller are returned.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"Count":2,"Subscriptions":[{"SubscriptionId":"0b7ea71f-b782-4535-bbba-f59301956550","DeliveryType":"fetch","Domain":{"Type":"Site","Values":[{"Name":"GSMKey","Value":"E77A-9F97-3F2F-4341-A367"},{"Name":"SiteKey","Value":"DC36-0856-066D-4341-8867"}]},"EventTypes":["Endpoint.FileDetection"],"Webhook":null,"CreatedDate":"2022-08-29T10:36:06.7942654Z","UpdatedDate":"2022-09-29T10:36:06.7942654Z"},{"SubscriptionId":"707794c3-3fef-4e9c-b3e2-98a16a124e68","DeliveryType":"webhook","Domain":{"Type":"Site","Values":[{"Name":"GSMKey","Value":"629D-AA51-F730-4A64-AD89"},{"Name":"SiteKey","Value":"BC77-0CBB-D936-40DA-B8C8"}]},"EventTypes":["Endpoint.FileDetection"],"Webhook":{"DeliveryContext":"MyCustomCorrelationString","DeliveryRateInSeconds":90,"DeliveryUrl":"https://my.company.com/wrunity/notifications/webhook","Suspended":false,"Statistics":null},"CreatedDate":"2022-08-29T10:36:06.7942654Z","UpdatedDate":"2022-09-29T10:36:06.7942654Z"}]}