To use most API endpoints you need to append &auth=<YOURAPITOKEN> to the URL, like this:
http://pi.hole/admin/api.php?summaryRaw&auth=<YOURAPITOKEN>
To use most API endpoints you need to append &auth=<YOURAPITOKEN> to the URL, like this:
http://pi.hole/admin/api.php?summaryRaw&auth=<YOURAPITOKEN>