Get Threat Notifications


Gets a list of pending threat notifications.


Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
reseller-id Integer Optional Reseller ID of the Reseller for whom threat notifications are to be retrieved. By default, threat notifications for the current user will be retrieved.

HTTP Method


Example Test URL Request


Returns a hash map containing the below details:

  • Customer ID of the Customer for whom threat notifications are pending (customerId)

    • Domain name for which threat notifications are pending (domainName)

      • Creation time for the threat notification (creationTime)

      • Notification ID associated with the threat notification (notificationId)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

The response structure will be:

{ "account": [ { "customerId":0, "website": [ { "domainName":"", "notification": [ { "creationTime":1398758909871, "notificationId":2 } ] }, { "domainName":"", "notification": [ { "creationTime":1398759150807, "notificationId":3 } ] } ] }, { "customerId":1, "website": [ { "domainName":"", "notification": [ { "creationTime":1398759334814, "notificationId":4 } ] } ] } ] }