--- title: "Why did my API key stop working?" slug: "why-did-my-api-key-stop-working" updated: 2026-08-07T13:01:04Z published: 2026-08-07T13:01:04Z canonical: "support.anydesk.com/why-did-my-api-key-stop-working" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.anydesk.com/llms.txt > Use this file to discover all available pages before exploring further. # Why did my API key stop working? On August 13, 2026, [my.anydesk II](https://my.anydesk.com/v2) transitioned to a new method of generating and validating API keys to enhance security. ## **What does this mean for you?** - API keys generated before August 13, 2026, are deprecated and no longer function. - Existing API keys cannot be retrieved from your [my.anydesk II](https://my.anydesk.com/v2) portal. - Newly generated API keys have a maximum validity of 1 year. ## **How do I generate a new API key?** 1. Log into your my.anydesk II portal. 2. In the upper-right corner of the page, click your account name and select [**My Profile**](https://my.anydesk.com/v2/personal-profile). ![](https://cdn.document360.io/b94c9ac2-20ec-4c7e-b325-135b0ed113f9/Images/Documentation/Screenshot 2026-08-07 at 2.24.48 PM.png) 3. In the **API Keys** section, old API keys will display as deprecated. Click **Create API key**. ![](https://cdn.document360.io/b94c9ac2-20ec-4c7e-b325-135b0ed113f9/Images/Documentation/Screenshot 2026-08-07 at 2.16.50 PM.png) 4. Enter a name for the API key, select an expiration period (up to 1 year maximum), and click **Generate**. ![](https://cdn.document360.io/b94c9ac2-20ec-4c7e-b325-135b0ed113f9/Images/Documentation/Screenshot 2026-08-07 at 2.17.15 PM.png) 5. Copy the generated API key and save it in a secure location. **You will not be able to view or retrieve this key again after closing this window.** Once saved, click **Done**. ![](https://cdn.document360.io/b94c9ac2-20ec-4c7e-b325-135b0ed113f9/Images/Documentation/Screenshot 2026-08-07 at 2.17.37 PM.png) 6. The key will now appear in your **API Keys** list. The table displays the key name, creation date, expiration date, a truncated version of the key, and an option to delete it. The API key remains valid until it reaches its expiration date or is manually deleted. ![](https://cdn.document360.io/b94c9ac2-20ec-4c7e-b325-135b0ed113f9/Images/Documentation/Screenshot 2026-08-07 at 2.23.22 PM.png)