An API token provides access to your company's data and should be treated like a password. Keeping your API tokens secure helps prevent unauthorised access to your Formitize account.
API token security best practices include:
Never share a token by email, text message, chat, phone or support ticket. This includes sending it to colleagues and to Formitize Support. We will never ask for your token.
Always keep it in an environment variable or secrets store, never in your code, ordinary configuration files, spreadsheets or documents.
Never put it in a web page or anything else that runs in a browser and never include it in screenshots.
Give each integration its own profile, with a title that names the integration. Use New Token to create a separate profile for each integration, with only the permissions it needs. You can't see a token again after it's created, so the title is how you'll know which token belongs to which integration. Don't use Add Token on another integration's profile, because the new token would share that profile's permissions. If one token is exposed, you only have to replace that one.
If an API token may have been accessed by an unauthorised person, replace it immediately. Do not wait to determine whether the token has been misused.
To remove the exposed token, in the Web Portal, go to Admin > API > API Tokens > Open the relevant Token Profile > Select Delete next to the exposed token > Save. The deleted token will stop working as soon as you save your changes. Create a new API token and update the environment variable or secrets store used by your integration with the new token.