Cannot access api.php Json from localhost or different server

The API needs the authorization token.

You need to add &auth=<your_access_token> to the URL.

Note:
Since you are using the URL without any endpoints, you will need to add summaryRaw too.

/admin/api.php?summaryRaw&auth=<your_access_token>
1 Like