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

# Authentication

> All Supercycle API calls require authentication via an API key, which can be generated from the Supercycle Admin interface.

## Creating an API key

<Steps>
  <Step title="Head to your Supercycle API settings">
    In your Shopify admin, navigate to **Supercycle** > **Settings** > **API**.

    Select **Create API key**.

    <Frame type="glass">
      <img src="https://mintcdn.com/supercycle/Omgmq0rsgqX1BZKa/images/screenshots/supercycle-admin/api-keys.png?fit=max&auto=format&n=Omgmq0rsgqX1BZKa&q=85&s=3819a99d42dfa61e7bdb027e49ab1193" width="2998" height="1588" data-path="images/screenshots/supercycle-admin/api-keys.png" />
    </Frame>
  </Step>

  <Step title="Create API key">
    Give your new API key a name and hit **Create API key**.

    <Frame type="glass">
      <img src="https://mintcdn.com/supercycle/Omgmq0rsgqX1BZKa/images/screenshots/supercycle-admin/create-api-key.png?fit=max&auto=format&n=Omgmq0rsgqX1BZKa&q=85&s=c2593c979215d907ae9ede0dea7df0c6" width="1565" height="816" data-path="images/screenshots/supercycle-admin/create-api-key.png" />
    </Frame>
  </Step>
</Steps>

## Authenticating requests with API key

Requests are authenticated via bearer auth and expect the API token to be set in the request headers.

```bash theme={null}
curl https://app.supercycle.com/api/v1/items \
 -H 'Authorization: Bearer 8fe395...7ba7'
```
