Loading...

Knowledge Base

Process SiteLock Threat Notifications Using the API

When you want to mark SiteLock threat notifications as processed using the API. This article explains the required parameters, reseller scope handling, API request format, and response behavior for threat notification processing.

Process Threat Notifications

Description

Processes the specified threat notifications.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
notification-idArray of IntegersRequiredNotification ID of the threat notifications which needs to be processed. Use this method to get the Notification ID(s).
reseller-idIntegerOptionalReseller ID of the Reseller for whom threat notifications are to be processed. By default, threat notifications for the current user will be processed.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/sitelock/threat/processed.json?auth-userid=0&api-key=key&notification-id=0

Response

Returns true (String) if the threat notification(s) is/are processed successfully.

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