An API token allows an external system or integration to securely access your Formitize data without using an individual User's login credentials.
We recommend using an API token for each integration, as API tokens:
Do not require a paid User licence.
Only have access to the permissions configured for them.
Continue working when staff change their Password or leave the business.
Support accounts using Microsoft Single Sign-On (SSO).
Can be replaced without affecting individual User logins.
Before creating an API token
Ensure you have access to the Admin menu in the Formitize Web Portal, understand which permissions your integration requires and have a secure location to store the token.
An API token is only displayed in full once, immediately after it has been created.
API Token Profiles
In the Web Portal, go to Admin > API > API Tokens.
API tokens are organised into Profiles. The API Tokens list displays the following information:
| Column | Description |
|---|---|
| Profile | The title assigned to the Token Profile. |
| Tokens | The number of tokens associated with the Profile. |
| Access | The areas of Formitize the Profile has permission to access. |
Each Profile contains a Title, configured permissions and one or more API tokens. All tokens within the same Profile share the same permissions. We recommend creating a separate Token Profile for each integration.
Naming a Token Profile
Once an API token has been created, it cannot be viewed in full again. Only a masked version of the token will be displayed:
1234-********************************2b3c
The Profile Title should clearly identify which integration uses the token and, where applicable, where the integration runs.
For example:
Power BI Reporting
Nightly Client Sync from Accounts System
Website Enquiry Form (built by Example Web Agency)
Avoid generic titles such as API or Token 1, as these can make it difficult to identify which integration needs to be updated if a token is replaced.
Creating an API token
In the Web Portal, go to Admin > API > API Tokens > New Token > Enter a Title > Select the required Permissions > Add Token. The newly generated API token will be displayed at the top of the page under New Token. Select Copy and store the token immediately in your integration's environment variables or secrets store.
Please Note: Once you leave or reload the page, the token will be masked and cannot be viewed in full again. If you lose the token, you will need to create a replacement.
Configuring API token permissions
Permissions are displayed in a grid, with each row representing an area of Formitize and each column representing an available action: Create, Read, Update or Delete.
Selected permissions are displayed in green. Greyed-out checkboxes indicate that an action is not available for that area. Selecting the checkbox at the top of a column allows you to select or deselect that action across all available areas. Only select the permissions required by your integration.
| Group | Area | Available Permissions |
|---|---|---|
| Accounts | Invoice, Quote | Create, Read, Update, Delete |
| Accounts | Tax, Account Code, Items, Payments | Read |
| Assets | Asset | Create, Read, Update, Delete |
| CRM | Client, CRM Lead | Create, Read, Update, Delete |
| Forms | Form | Create, Read, Update, Delete |
| Forms | Form Template | Read |
| Forms | Database | Read, Update, Delete |
| Jobs | Jobs | Create, Read, Update, Delete |
| Jobs | Job Type | Read |
| Resources | Resource | Read |
| Tasks | Task | Create, Read, Update, Delete |
| Users | User List | Read |
Using your API token
Once created, your API token can be included in the Authorization header of your API requests:
Authorization: Bearer 1234-3f2b8c1e-9a4d-4e7b-b6c2-0d5e8f1a2b3cAlways ensure your integration handles API errors appropriately and remains within the account-wide API usage limit.