Where can I find token_auth for API calls?

Analytics classic

The token_auth is an encoded version of your username and password. You can use it to authenticate all your API requests in Analytics classic API. Handle it carefully and don’t share with anyone. Each user has a different token_auth.

To find the token_auth, follow these steps:

  1. Go to Menu > Analytics settings.
  2. Navigate to API.
  3. In User authentication, you’ll find the token_auth
Token_auth for API calls in Piwik PRO.

Analytics (new) API uses OAuth authentication. The authentication method used in the classic version, which based on a token_auth parameter, will not work for new API. Learn more about OAuth authentication in our technical documentation.

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!