[Regenerate your API connection token] 
 If your API token has been **compromised** or you need to **rotate it for security**, you can now regenerate it directly from your Metricool account settings.

This feature is available for **Advanced and Custom** plans.

## How to regenerate your token

1. Go to **Settings**.
2. Click on the **API** tab.
3. In the **REST API Accesstoken** section, click the **three-dot menu** ⋮ next to your token.
4. Select **Regenerate token**.
5. A confirmation modal will appear. Type **REGENERATE** to confirm.
6. Click **Confirm**.

Your new token will be generated immediately and the previous one will be invalidated right away.

![Regenerate API token from Settings](https://static.ferndesk.com/user-images/file_01KT6NNBFR6Q409T0AQ5415YPA.png)

> [!WARNING]
> Regenerating your token will **immediately invalidate your previous token**. All active integrations (Looker Studio, Zapier, API calls, etc.) will stop working until you update them with the new token.

> [!INFO]
> Type **REGENERATE** exactly as shown in the modal. This confirmation step prevents accidental regenerations that could disrupt your integrations.

## After regenerating your token

Once you have your new token, update it in all places where you use it:

- Looker Studio data sources
- Zapier integrations
- Make (Integromat) scenarios
- n8n workflows
- Custom API scripts or applications

For help updating your token in Looker Studio, see [Change API Key / Token in Looker Studio](https://help.metricool.com/change-api-key-token-in-looker-studio-cjwck).

## Related content

- [Common questions and errors when using the API](https://help.metricool.com/common-questions-and-errors-when-using-the-api-8x9nq)
- [What is Looker Studio and where to find the API Key / Token](https://help.metricool.com/what-is-looker-studio-and-where-to-find-the-api-key-token-tx5lj)