Acces an API via Admin authentication

System Information
  • Strapi Version: 3.6.4
  • Operating System: Linux Mint 20
  • Database: MongoDB
  • Node Version: 14
  • NPM Version: 6
  • Yarn Version:

We have an API that isn’t needed for the public at all and is just needed to generate a static site. I want to make calls to the API via an admin user because I don’t think I’d want to create an extra user just for fetching data.

How do I do that?

I’d ideally want something like API Tokens but for authenticating the request as an admin.

You can use an Admin JWT to access the end-user endpoints. (this is one of those “bugs as a feature” that exists in the v3 that won’t be possible in the v4).

In the v4 we are implementing native API Tokens