I struggeled with the same thing for long, but for me I simply had mistyped the parameter as “auth_token” instead of “token_auth”. style_emoticons/<#EMO_DIR#>/biggrin.gif
The superuser token_auth which vipsoft refers to can be found in the Piwik web interface on the API page: http://<yourserver+pathToPiwik>/piwik/index.php?module=API&action=listAllAPI&idSite=1&period=day&date=yesterday
I’m a beginner with Piwik. I have read the FAQ and see that only the superuser can create users and sites.
I don’t understand, when I’m logged with non-superuser :
the link to add a user is not displayed in the tab “Users” => I agree
the link to add a site is displayed in the tab “Sites” and if I try to add a site I have the message “it requires superuser access” => I disagree
Why the link to add a site is displayed if I’m not the superuser ? (perhaps there is a good reason)