To use these APIs you will need to have authorized access to the OneFirewall platform. If you don’t already have, create and account and login into the application OneFirewall Alliance PlatformDocumentation Index
Fetch the complete documentation index at: https://docs.onefirewall.com/llms.txt
Use this file to discover all available pages before exploring further.
Generate a API Token
Once you have access to the OneFirewall Platform, you have to navigate under the profile page, where you can click and generate an API JWT Token that you have to store and use it for the requests to the set of APIs as presented in this documentation. On every request to the APIs you must use your own key within theauthorization header. An example of a simple API againt /api/v1/version can be found below (even if this API does not require authorization)
HTTP Request
Python Request
simple-http-request.py
Organization Selection
For certain APIs, especially those related to scanning and resource management, you must specify the organization context. You can do this in two ways:- Header: Include the
X-Org-Idheader with your organization’s ID. - Query Parameter: Include
org_id=YOUR_ORG_IDin the URL.

