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

# Authenticate Meow API requests with x-api-key headers

> Authenticate Meow API requests with x-api-key, scope calls to a specific entity using x-entity-id, and manage API keys from the Meow dashboard.

## API Key Authentication

The Meow API uses API key authentication. Include your API key in the `x-api-key` header with every request.

```bash theme={null}
curl -H "x-api-key: YOUR_API_KEY" https://api.meow.com/v1/accounts
```

## Obtaining an API Key

You can create and manage API keys from the [Meow Dashboard](https://www.meow.com/dashboard).

## Multi-Entity Access

For API keys with access to multiple entities, include the `x-entity-id` header to scope requests to a specific entity:

```bash theme={null}
curl -H "x-api-key: YOUR_API_KEY" \
     -H "x-entity-id: YOUR_ENTITY_ID" \
     https://api.meow.com/v1/accounts
```

Use the `/api-keys/accessible-entities` endpoint to list all entities accessible by your API key.

## Environments

<CardGroup cols={3}>
  <Card title="Production" icon="server">
    ```
    https://api.meow.com/v1
    ```

    Live environment for production integrations.
  </Card>

  <Card title="Sandbox" icon="flask">
    ```
    https://api.sandbox.meow.com/v1
    ```

    Test environment for development and testing.
  </Card>

  <Card title="Development" icon="code">
    ```
    https://api.dev.meow.com/v1
    ```

    Development environment for early integration testing.
  </Card>
</CardGroup>

## Security Best Practices

* Never expose your API key in client-side code
* Rotate keys regularly using the Meow Dashboard
