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

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. API key.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

Information

These instructions apply to the current MoEngage dashboard. A new dashboard will soon be available. For more information, read API Key Dashboard.

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?