This project uses a PRTG API token instead of username/password.
- More secure
- No credential exposure
- Ideal for automation
- Supported natively by PRTG
API requests authenticate using:
apitoken=YOUR_TOKENinstead of:
username=xxx&passhash=yyyRecommended:
- Read-only access to required sensors
- No admin permissions unless required
- On the PRTG and the very top, click Setup.
- Under System Administration, click User Accounts.
- At the very right of the screen, click + icon > Add User.
- Under User Account Settings, fill in:
- Login Name
- Display Name
- Primary Email Address
- Password
- Confirm Password
On the Account Settings select **Read-only user and click Create.
- After user creation, click the created user.
- Click API Keys tab > + icon > Add API Key.
- In the Add New API Key window, fill in the Name. API Key will be display at the bottom of the window. Click ok.
Note: Copy and store the API key because after clicking OK , the API key will not be visible again.






