The APIs
Generate a token to access the APIs
The authentication system for dynamic data allows all users of the API or widget to have a single authentication token to insert into their API requests.
- Access to the "My authentication tokens" page, which will allow you to generate this authentication token, will be done directly from your personal menu, once logged in.
- Once on the "My authentication tokens" page, within the "API" tab, a " Generate my token" button will allow you to generate this token.
- Once generated, you will be able to see the token in its entirety (the entire token has been hidden in the example opposite)
- The previously generated token will only be visible once in its entirety, so you have the option to copy it in order to paste it in a safe place.
- After generating your first token, you have the option to see only a part of it (first 4 and last 4 characters) by refreshing or returning to the page.
- You can regenerate your API token if you have lost the first token: simply click on " Generate a new API token".
Warning: this token will make the previous token obsolete and will only be visible in its entirety once
Once your token has been generated on the PRIM site, all you have to do is add the " API Key " field in the header of your request and fill in the generated key in the " Value " section
