Description
Gets a list of pending threat notifications.
Parameters
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
GET
Example Test URL Request
https://test.httpapi.com/api/sitelock/threat/pending.json?auth-userid=0&api-key=key
Response
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: