Skip to content
Docs

🔑 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.

  1. Go to the admin panel of your Pi-hole® server and log in.

    login
  2. On the side menu, go to Settings.

    home
  3. Go to API / Web interface.

    settings
  4. Click on Show API token.

    web
  5. Click on Yes, show API token.

    yes
  6. 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).

    app

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.