# API

API keys are essential for authenticating requests to Endpoints AI. You can generate an API key with either Read and Write permissions or Read-only permissions.\
\
**Generate**[​](https://docs.runpod.io/get-started/api-keys#generate)

*To create an API key:*

From the console, select **Settings**.

Under **API Keys**, choose **+ API Keys**.

Select the permission and choose **Create**.\
\\

{% hint style="info" %}
Note:\
\
Once your API key is generated, keep it secure. Treat it like a password and avoid sharing it in insecure environments.
{% endhint %}

**Revoke:**

*To delete an API key:*

1. From the console, select **Settings**.
2. Under **API Keys**, select the trash can icon and select **Yes**.
