Get Whitelist

GET /1.3/whitelist

Description

Get a paginated list of the indicators that have been whitelisted by the user’s company.

Parameters

Parameter Required Default Description
pageNumber   0 which page of the result set to get
pageSize   100 The number of results per page. Max allowed size is 1000.

Response (200)

A page of Indicator objects.

Example Usage

Request

curl -k -X GET -H "Authorization: Bearer {access_token}" \
     "https://api.trustar.co/api/1.3/whitelist"

Response

{
    "items": [
        {
            "indicatorType": "URL",
            "value": "evil.com"
        },
        {
            "indicatorType": "IP",
            "value": "101.43.52.224"
        }
    ],
    "hasNext": true,
    "pageSize": 25,
    "pageNumber": 0
}