There's a few ways you can authenticate:
- Include your password in the
pwvariable whenPOSTing - Pass the
WEBPASSWORDhash found in/etc/pihole/setupVars.confin theauthGET variable
If you keep a session, you will continue to be authenticated for up to 30min since your last API call. We are working to improve the security and usability of the API, so stay tuned for upcoming changes!