> ## Documentation Index
> Fetch the complete documentation index at: https://doc.youverify.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate and manage API keys

> Create sandbox and live API keys in the Developer Hub for server-to-server integrations.

API keys authenticate your server-to-server calls to Youverify. Create separate keys for the Sandbox and Live environments.

## Create an API key

**1. Open the Developer Hub**

Click **Developer Hub** in the sidebar.

![Developer Hub in the Cowork sidebar](https://mintlify.s3.us-west-1.amazonaws.com/youverify/images/how-to/api-keys/step-1.png)

**2. Choose the environment**

Choose **Sandbox** or **Live**.

**3. Create a new key**

Click **+ Create New API Key**.

![Create New API Key button in the Developer Hub](https://mintlify.s3.us-west-1.amazonaws.com/youverify/images/how-to/api-keys/step-3.png)

**4. Name the key and set permissions**

Enter a name for the key and set its permissions or scopes.

**5. Copy and store the secret key**

Copy the secret key and store it securely.

![Newly created secret key with a copy button](https://mintlify.s3.us-west-1.amazonaws.com/youverify/images/how-to/api-keys/step-5.png)

> [!WARNING]
>
> Keep your secret key on your server. Never put it in a web page, a mobile app, or source control.

To learn how to use the key in requests, see [Authentication](https://doc.youverify.co/get-started/authentication.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.