Before users can create Bearer tokens and access the Axero REST API, an administrator must enable API access and configure appropriate security settings. This guide walks through the complete setup process, from enabling Bearer token support to configuring security levels that match your organization's requirements.
π Prerequisites: You must have site administrator privileges to configure REST API settings. These changes affect all users in your organization and should be planned accordingly.
Bearer token support is controlled by the Security level setting on the REST API Settings screen, so you do not edit anything by hand to turn it on:
EnableLegacyAPIKey
EmulateLegacyAPIKey
EnableLegacyAPIKey = false
EmulateLegacyAPIKey = true
If you need a legacy API key on a site already using bearer tokens, for example for an older integration that cannot be changed, this is the one case that does need a hand edit. In Control Panel > System > System Properties, set EmulateLegacyAPIKey to false and EnableLegacyAPIKey to true. The legacy API key option reappears in user preferences and the key can be created.
false
true
That combination is a fourth level the Security level selector does not offer, and while the site is on it, the selector is hidden. Put the properties back by hand to return the selector to the screen.
Do this deliberately and put it back afterwards. While it is reversed, everyone on the site sees the legacy key option again.
After enabling Bearer token support, you'll need to choose the appropriate security level for your organization. This decision determines which authentication methods are available and how strictly API access is controlled.
Navigate to REST API Settings and select one of the following security levels. Read each option carefully to understand the features and limitations:
Maintains backward compatibility by supporting both legacy API keys and Bearer tokens during the migration period.
The first step of that migration is an inventory, and Axero cannot produce it for you. The platform does not record which authentication method an API call used, so nothing in the product can list the integrations still on a legacy key, and call volume alone cannot separate a legacy integration from ordinary browsing or from mobile app traffic. Build the list from your own side: the systems and scripts your teams have written against the API, and the accounts they run as. A starting point is the set of accounts that hold a legacy API key. Do this before the deadline above rather than after it, because once legacy support ends, an integration you did not know about simply stops.
The recommended security level eliminates legacy API keys while keeping existing third-party integrations working. This mode provides enhanced Bearer token management with configurable expiration controls.
β οΈ Migration Required: Before enabling High Security, ensure all applications using legacy API keys are updated to use Bearer tokens. Legacy API keys will immediately stop functioning.
High Security mode provides granular control over token expiration policies:
π§ Configuration Best Practices:
The highest security level that provides maximum protection by requiring Bearer tokens for all API access. This mode completely disables username/password authentication, ensuring all API requests use cryptographically signed tokens.
π¨ Critical Considerations Before Enabling:
After configuring security levels, ensure that user roles have the appropriate REST API permissions:
π Permission Note: Users without REST API permissions will not see the Authorizations section in their account settings and cannot create Bearer tokens.
Once Bearer token support is enabled and user permissions are configured, users can create their own Bearer tokens: Creating Bearer Tokens
After completing the REST API setup:
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108972/enabling-api-access
Your session has expired. You are being logged out.