Custom Category API overview
The process of using the Custom Category API works as follows:
- An API token (api-key-string) must be created in the Forcepoint Web Security Cloud. Navigate to the and click the Generate API Token button.
- The client calls the Token Management API Generate Bearer Access Token endpoint to generate a Bearer Access token using the api-key-string generated in step 1.
- The client makes a call to the Custom Categories API to create, read, update or delete categories. Clients must include the bearer access token (generated in step 2) in the Authorization header of each request.
- When the client executes a write operation (create, delete or update), a transaction ID will be returned.
- The client can call the Custom Categories Get Transaction status endpoint to get the status of the transaction that was created in step 4.
To prevent data collisions, the Custom Categories API processes transactions in the order that they are executed.