Help

I lost my API key. How can I view it again?

For security, 101domain utilizes one-way salted hashing to store API credentials. This means that once your key is generated and displayed to you, the plain-text version is purged from our active databases. We only store a cryptographic ‘fingerprint’ used to verify your requests.

This industry-standard practice ensures that even in the event of a data breach, your actual API keys remain protected.

Steps for Recovery

If you have lost your key or suspect it has been compromised, follow these steps to restore your service:

Step 1: Revoke the Existing Key

  1. Log into your my.101domain.com account.

  2. Navigate to My Account.

    Client Admin_Dashboard_Dropdown_Red Box.png
  3. From the My Account menu, click on Developer Tools - API & MCP.

    Client Admin_My Account_Red Box.png
  4. In the Developer Tools menu, scroll down the page to find the lost API key in the list and select Revoke.

    Client Admin_Developer Tools_Example Key with Revoke_Red Box.png

This will immediately stop any applications currently using that specific key from communicating with the API and will no longer appear in this list.

  1. A pop-up will appear for you to confirm that you want to revoke your key. Click on Yes, Revoke Key if you want to proceed or Cancel if you want to retain this key.

    Client Admin_Developer Tools_Example Key_Confirm Revoke_Red Box.png

Step 2: Generate a New Key

  1. In the same Developer Tools menu scroll up and assign a Name so you can identify it later. You can use the same name as the API Key you revoked earlier.

    Client Admin_Developer Tools_Name Populated_Red Box.png
  2. Select the Expiration Period then select the relevant Scopes.

    Client Admin_Developer Tools_Endpoints Selected_Red Box.png
  3. Click Generate Key.

  4. Your new API Key will be generated and can be found to the right of the screen. Copy the key immediately and store it in your secure password manager. This is the only time the key will be shown in full.

Update Your Environment

Replace the old key in your application’s .env file or configuration header: Authorization: Bearer [YOUR_NEW_API_KEY]. Restart your services to apply the change.


Best Practices for the Future

  • Use Environment Variables: Never hard-code your API key directly into your source code.

  • Least Privilege: If your application only needs to check domain availability, ensure the key is restricted to those specific permissions (if applicable).

  • Rotation Schedule: Even if you don't lose your key, it is a healthy security practice to rotate (delete and recreate) your API keys every 90 days.