1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Generate and manage Infomaniak API tokens
This guide concerns Infomaniak authentication tokens, or tokens, which are used to verify the identity of the application and grant specific permissions to interact securely with Infomaniak's API features and data.
Generate an Infomaniak API Token
Authentication tokens or tokens are used to verify the identity of the application and grant specific permissions to interact securely with API features and data.
To access the Infomaniak API, it is necessary to generate an access token. Its default duration is "unlimited," but you can set a custom duration upon creation.
Be aware that if no calls are made with the token for one year, it is automatically disabled. In this case, you will need to generate a new one. There is no limit to the number of tokens you can create.
During creation, you can choose the application and scope accessible by the token to match your current project needs.
Add / Retrieve a Token
API keys are managed on this page in the Manager:
To do this:
- Click the blue Create a token button
- Choose the appropriate product from the dropdown menu according to your current needs and project
- Choose a validity period
- Click the blue Create a token button
- Enter your Manager login password as requested
- Copy the token securely - it will no longer be accessible after this step
Example application: token for the Newsletter API