🔑 Pi-hole API token (v5) and password (v6)
This guide explains how to get the credential that the app uses to log in to your Pi-hole server.
- Pi-hole v5: use the API token.
- Pi-hole v6: use your web admin password. Pi-hole v6 has no API token.
Pi-hole v5: API token
Section titled “Pi-hole v5: API token”-
Go to the admin panel of your Pi-hole® server and log in.

-
On the side menu, go to Settings.

-
Go to API / Web interface.

-
Click on Show API token.

-
Click on Yes, show API token.

-
On the application, tap the QR code button (1) and then, scan the QR code, or copy the API token (text under the QR code) and paste it into the Token field (2).

Pi-hole v6: password
Section titled “Pi-hole v6: password”Pi-hole v6 has no API token. In the app, enter the password that you use to log in to the Pi-hole web admin in the Password field.
If two-factor authentication (2FA) is enabled, the app also asks for a 6-digit code. See Connecting to Your Pi-hole for details.