Meta tags:
description= To get started with our API, you need to set up authentication. You can try to follow our example and make a first call – just to see how it’s like to work with our API. If you want to access API for the first time, you need to generate your API credentials and use them to create an access token. Th…;
Headings (most frequently used words):
create, api, keys, authentication, an, access, token, delete,
Text of the page (most frequently used words):
api (22), you (10), token (9), keys (8), create (8), and (7), access (6), credentials (6), your (6), the (6), with (6), client (6), click (5), piwik (5), pro (5), for (5), #delete (4), log (4), follow (4), use (4), need (4), example (4), our (4), authentication (4), want (3), these (3), steps (3), note (3), bearer (3), your_access_token (3), type (3), call (3), secret (3), client_secret (3), client_id (3), web (3), updated (2), months (2), ago (2), navigate (2), menu (2), profile (2), email (2), tokens (2), them (2), every (2), valid (2), expires_in (2), time (2), can (2), json (2), https (2), content (2), make (2), are (2), copy (2), first (2), jump (2), changelog (2), docs (2), home (2), choose, that, revoke, longer, generated, minutes, shows, expiration, seconds, authorization, now, communicate, include, within, header, token_type, 1800, access_token, response, replace, account, url, curl, post, auth, application, data, grant_type, client_credentials, shell, format, jwt, until, they, deleted, won, available, after, close, this, window, enter, name, key, uses, oauth, grant, obtaining, user, generate, needed, authenticate, calls, get, started, set, try, just, see, how, like, work, page, agents, visit, developers, llms, txt, index, all, pages, formatted, markdown, endpoints, openapi,
Text of the page (random words):
authentication for ai agents visit https developers piwik pro llms txt for an index of all pages formatted in markdown and endpoints in openapi jump to content home docs web api changelog log in web api log in home docs web api changelog authentication jump to authentication copy page to get started with our api you need to set up authentication you can try to follow our example and make a first call just to see how it s like to work with our api if you want to access api for the first time you need to generate your api credentials and use them to create an access token the token is needed to authenticate api calls our api uses client credentials oauth grant type for obtaining a user token create api keys to create api keys follow these steps log in to piwik pro go to menu profile click on your email navigate to api keys click create a key enter name and click ok copy client id and client secret the client secret won t be available after you close this window note credentials are valid until they are deleted in api keys create an access token to create an access token follow these steps piwik pro api tokens use jwt format make a call shell curl x post https example auth token h content type application json data grant_type client_credentials client_id client_id client_secret client_secret note replace example with your account url client_id with your client id and client_secret with your client secret response example json token_type bearer expires_in 1800 access_token your_access_token now you can use your_access_token to communicate with piwik pro api the token is a bearer type so you need to include it within the header in every api call authorization bearer your_access_token note every token is valid for 30 minutes expires_in shows the expiration time in seconds delete api keys if you no longer want to use generated api credentials in access tokens you need to delete them to delete api credentials follow these steps log in to piwik pro go to menu profile click on your email navigate to api keys choose credentials that you want to revoke and click x updated 10 months ago updated 10 months ago create api keys create an access token delete api keys
|