Topic
This article explains how to configure your authorization flows for application programming interface (API) requests through the NinjaOne Public API 2.0.
Environment
- NinjaOne Documentation
- NinjaOne Public API 2.0
Description
The NinjaOne Public API 2.0 requires either an authentication token or an API session key to send the API request. Review the Authorization section of the API documentation to learn more about these requirements.

- Click through the Create Applications menu to learn about your options when registering your app within the NinjaOne web application. These pages provide comprehensive instructions for configuring your authorization workflow.

- After you have registered your application and configured the authorization flow, return to the NinjaOne Public API Core Resources page and select a request.
- In the Auth header of the API request block, select your authorization type and paste the required data into the sessionKey or Token field as described in the Authorization documentation.
- Enter your parameters, if any, and then click Send API Request.
The response to the request will appear.

Additional Resources
Refer to NinjaOne Documentation: Public API to learn how to access and interact with the NinjaOne Public API.