# API KEY

To call any api endpoint, you must provide an apiKey in the headers of the request.

1. **Creating an apiKey from the dashboard**

{% hint style="warning" %}
You must store `apiKey`, as it cannot be retrieved once lost.
{% endhint %}

log in to the dashboard, navigate to the **API Keys** section, and click **Add New Api Key**. After setting it up, you will receive an `apiKeyUUID` and an `apiKey`. Ensure you store the `apiKey` securely, as it will only be displayed once.

2. **Include environment credentials in the request headers**

To authenticate, you must include your `environmentUUID` and `envSecret` in the request headers.

<table><thead><tr><th>Header Key</th><th>Value</th></tr></thead><tbody><tr><td>X-Api-Key-Id</td><td><pre><code>apiKeyUUID
</code></pre></td></tr><tr><td>X-Api-Key</td><td><pre><code>apiKey
</code></pre></td></tr></tbody></table>
