Navigate to the API settings
- Log in to your NinjaOne instance at app.ninjarmm.com.
- Navigate to Administration > Apps > API.
- Click on the Client App IDs tab.
Create a Web OAuth application
- Click the Add button to open the Application Configuration form.
- Select Web as the Application Platform (do not select “API Services / Machine-to-Machine”).
- Fill in the details:
- Name: A descriptive name for your application
- Redirect URI:
https://api.nango.dev/oauth/callback - Allowed Grant Types: Check both Authorization Code and Refresh Token
- Scopes/Permissions: Select the appropriate scopes for your use case (e.g., Monitoring, Management, Control)
- Click Save to create the application. You may need to complete a multi-factor authentication step.
Obtain your app credentials
- After creating the application, the Client ID and Client Secret will be displayed.
- Copy and securely store both values immediately. The Client Secret is only shown once and cannot be retrieved later.
Next
Follow the Quickstart.
Important notes for NinjaOne RMM API
- The Client Secret is only displayed once after creation. If you lose it, you’ll need to create a new application.
- NinjaOne access tokens expire within approximately 1 hour. Include the
offline_accessscope to ensure refresh tokens are issued for automatic token renewal. - This OAuth2 Authorization Code provider supports endpoints that require user-context authorization (e.g., running scripts on devices). If you only need machine-to-machine access, see the NinjaOne RMM (Client Credentials) integration instead.