--- title: "API Access: Add, Rotate, and Revoke API Tokens" slug: "api-access-add-rotate-and-revoke-api-tokens" updated: 2026-11-30T18:13:35Z published: 2026-11-30T18:13:35Z canonical: "support.makershub.ai/api-access-add-rotate-and-revoke-api-tokens" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.makershub.ai/llms.txt > Use this file to discover all available pages before exploring further. # API Access: Add, Rotate, and Revoke API Tokens This document will guide you through the API Access feature in MakersHub, which lets Admin users create and manage API tokens for the people on their team, right from User Settings. More teams are connecting AI assistants, reporting tools, and internal systems to their AP data. API Access gives those tools a secure way to read and work with your MakersHub data beyond the day-to-day AP workflow, while keeping control of who has access in your hands. > [!WARNING] > Before you start > > - **API Access must be enabled for your company.** It isn't turned on by default. If you don't see an API Access row on your users in User Settings, reach out to your MakersHub contact or support@makershub.ai and we'll enable it for you. > - **You need to be an Admin.** Only Admin users can add, rotate, or revoke tokens. Tokens can be created for any active user in your company. ## Where to find it Navigate to your *Name > User Settings*. Once API Access is enabled, each user card shows an **API Access** row beneath their Default Page and Default Account for Receipts fields. If a user doesn't have a token yet, the row shows **+ Add token**. If they do, it shows the token's name, a masked version of the key, when it was last used, and buttons to rotate or revoke it. See below: *A user without a token shows + Add token.* ![](https://cdn.document360.io/1b554e23-2d1e-483c-9fb1-9be0ba01e89c/Images/Documentation/image(296).png) *A user with an active token shows the token name, masked key, last-used time, and the Rotate and Revoke buttons.* ![](https://cdn.document360.io/1b554e23-2d1e-483c-9fb1-9be0ba01e89c/Images/Documentation/image(297).png) ## Add a token 1. In **User Settings**, find the user who needs API access. 2. In their **API Access** row, click **+ Add token**. 3. Enter a name for the token. Use something that describes what it will be used for, such as "Claude Integration" or "Power BI Reporting," so it's easy to recognize later. 4. Click **Create**. 5. The **API Access Key** window opens with the new secret key. Click the key to copy it (or click the eye icon to view it), then store it somewhere secure right away. ![](https://cdn.document360.io/1b554e23-2d1e-483c-9fb1-9be0ba01e89c/Images/Documentation/image(298).png) > [!WARNING] > **Copy the secret key before closing this window** For security reasons, the secret key is shown only once. After you close this window, MakersHub only displays the first and last four characters. If you lose the key, you'll need to rotate the token to generate a new one. ![](https://cdn.document360.io/1b554e23-2d1e-483c-9fb1-9be0ba01e89c/Images/Documentation/image(299).png) After you close the window, the user's API Access row shows the token name, the masked key, and **Last used: Never** until the token makes its first request. Each token shows a **Last used** date and time. This is the quickest way to confirm an integration is connected and working, and to spot tokens that are no longer in use and can be revoked. ## Rotate a token Rotating replaces a token's secret key with a new one. Rotate a token if the key was lost, if you think it may have been exposed, or as part of a regular security routine. 1. In the user's **API Access** row, click the **Rotate token** icon (the circular arrow). 2. Copy the new key from the **API Access Key** window and store it securely. As with a new token, it's shown only once. 3. Update any tool or integration that used the old key with the new one. ![](https://cdn.document360.io/1b554e23-2d1e-483c-9fb1-9be0ba01e89c/Images/Documentation/image(300).png) > [!WARNING] > **Note** Once a token is rotated, the old key no longer works. Any integration still using it will stop connecting until you update it with the new key. ## Revoke a token Revoking permanently turns off a token. Revoke a token when an integration is no longer needed or when a user leaves your team. 1. In the user's **API Access** row, click the **Revoke token** icon (the circle with a line through it). 2. Confirm the action. Any tool using that token loses access immediately. If the user needs API access again later, add a new token. ## Best practices - **Never share keys over email or chat.** Store them in a password manager or your organization's secrets vault. - **Use one token per integration** with a clear name. That way you can rotate or revoke one connection without affecting the others. - **Review Last used dates regularly** and revoke any tokens that aren't being used. - **Revoke tokens as part of offboarding** when someone leaves your team.