TLD_CATEGORY types not returned in GET /urlCategories


When I GET from /urlCategories, categories with type TLD_CATEGORY are not in the resulting list. Only URL_CATEGORY types are returned. This means that I have to know the IDs of TLD lists I wish to work with in advance.

Is there a param or an alternate path to retrieve the complete list?


Official response from support was that there is currently no way to directly request TLDs using the API. There is an enhancement request open to eventually provide it.

Meanwhile, this is my workaround:

  • Get all filtering rules
  • Get all custom categories
  • Check in the rules that all categories exist
  • When categories do not exist, get them directly by the missing ID. ← these are the TLD_CATEGORIES. Validate the type.

Job done.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.