Skip to content
Docs

🔑 Getting the API token (v5 only)

This guide explains how to get the API token to authenticate the application with 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