Depending on the solution, the method to get an API token can differ.
For more details on generating either type of token, see Authentication.
All requests must be sent over HTTPS. Requests made over HTTP will fail. In addition, each request must have the following:
application/json.authorization: Bearer <token>. You do not need to provide a password.The following is a sample request to the Custom rules API. In this case, we’re getting a list of custom rules for the specified application, which HUMAN identifies with the server token.
The Bot Defender API returns an array of custom rule objects, or an empty array if there are no custom rules.