APIs
Generate a token to access the APIs
The authentication system for dynamic data allows all API or widget users to have just one and only one authentication token to insert in their API requests.
- Access to the "My authentication tokens" page, which will allow you to generate this authentication token, will be made directly from your personal menu, once logged in.
- 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'll 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: you therefore have the option of copying in order to paste it in a safe place.
- After generating your first jeton, you have the option of viewing only part of it (first 4 and last 4 characters) by refreshing or returning to the page.
- You can regenerate your API token if you've lost the first token: simply click" Generate a new API token ".
Warning: this token will render the previous token obsolete and will only be visible in its entirety once
Once your token has been generated on the PRIM site, simply add the " API Key " in the header of your request and fill in the generated key in the" Value "
