Adding URLs and IP addresses by category name

When the API-managed category for a set of URLs or IP addresses is specified by name, the JSON request includes:

  • The transaction ID obtained in the start transaction call
  • The category name (required; must be unique)

    This field is used to define which category is returned when a URL or IP address is matched. An error is returned if the category name does not correspond to the ID of an API-managed category already in the system.

  • The URLs to add to the category (optional if IP addresses are present)
  • The IPs (IP addresses or ranges) to add to the category (optional if URLs are present)

For example:

{
"Transaction ID":"44081c08-453a-11e6-a9de-d99213c464e0", 
"Category Name":"Malicious XYZ",
"URLs": 
[
"http://www.test1.com/test1", 
"http://www.test1.com/test2", 
"http://www.test1.com/test3"
], 
"IPs": 
[
"167.34.15.117",
"167.34.16.118-167.34.16.120",
"2045:1221:1231::1331"
"24.56.8.0/23, 
"55AF:F451::/32
]
}