Categories
When you start using the API, the first step is to create a custom category. Once a new custom category is created, a transaction_id will be returned in the response. This transaction_id can then be used to obtain the category's unique ID (Custom Category API > Get transaction Status as explained in https://help.forcepoint.com/websec/en-us/cloud/api/index.html#tag/Custom-Category-API/operation/getTransactionStatus.
The category fields can be found in the following sections of the API Reference documentation: https://help.forcepoint.com/websec/en-us/cloud/api/index.html#tag/Custom-Category-API/operation/createCategory.
- The category must be identified by ID when adding URLs and IP addresses. To add URLs and IP addresses, see the API Reference documentation at: https://help.forcepoint.com/websec/en-us/cloud/api/index.html#tag/Custom-Category-API/operation/addOrRemoveCategorySites.