> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-analytics-query-api-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# What Is the Importance of the MoEngage API Key, and What Happens if It Is Updated?

> Learn what happens when you regenerate the MoEngage API key. Understand the impact on Android and iOS apps and how both keys work simultaneously.

## Problem

The significance and potential impact of updating the **MoEngage API key** for the apps on Android and iOS platforms on MoEngage need to be addressed. The MoEngage API key can be found on the dashboard under the **Settings** > **APIs** section, as shown in the screenshot.

<img alt="API key.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/eJTcJrF1-vmsOukF/images/moengage_71d567.png?fit=max&auto=format&n=eJTcJrF1-vmsOukF&q=85&s=83cb5a7a5fa30eccf63cb03ef10a6b6f" width="2182" height="892" data-path="images/moengage_71d567.png" />

## Solution

To successfully update the MoEngage API key and address potential impacts, follow these steps:

1. **Immediate changes**: The API key can be regenerated and saved at any time.
   * Navigate to **Settings** > **API** in the MoEngage dashboard to regenerate the API key.
2. **Support for old and new API keys**:
   * Once a new API key is regenerated, the old key will immediately become invalid.
   * MoEngage does not support simultaneous usage of old and new API keys.
3. **Implementation updates**:
   * The old API key must be replaced with the new one in all implementation areas.
   * The Workspace ID (earlier app id) will remain the same during this process.
4. **Risk of data loss**:
   * Failing to update the new API key across all required locations may lead to data loss. Ensure proper implementation to avoid disruption.

<Info>
  These instructions apply to the current MoEngage dashboard. A new dashboard will soon be available. For more information, read [API Key Dashboard](/user-guide/settings/account/api-and-api-keys/api-key-dashboard).
</Info>
