# Generate an API key

To generate an API key, navigate to your Company Settings (via the Violet logo in the bottom left-hand corner of your screen), then select **API**.

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FTbV15fWeA0h0xgno85f6%2FScreenshot%202026-02-22%20at%209.02.46%20AM.png?alt=media&#x26;token=466d544a-7c92-4cb7-99b1-48d87661084c" alt="" width="259"><figcaption></figcaption></figure>

Click <mark style="color:purple;">**+ CREATE API KEY**</mark>. If you wish, you can choose an expiration date for your key, otherwise click <mark style="color:purple;">**CREATE.**</mark> When your key appears, copy it and save it somewhere safe. **You will not be able to access the key again.**

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FnZ5xLhgKlNo2YTfuDKZC%2Fimage.png?alt=media&#x26;token=3f5bd1f8-7d61-4b5f-8075-fa1f0fd6dd99" alt="" width="563"><figcaption></figcaption></figure>

Next: learn how to use the [explore-endpoint](https://docs.violetlabs.com/features/api/explore-endpoint "mention") to retrieve your Violet data.
