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

# Authentication

> Learn how to authenticate with the Videowise API.

All endpoints in the **Product API** require authentication via an access token. This token must be included in the headers of every request.

***

## How to get your X-Videowise-Access-Token

## How to Authenticate

1. Obtain your access token from your Videowise account settings. Go to Settings -> Stores -> Click **View license key**
2. Include the token in the `X-Videowise-Access-Token` header of your request.

<Note>
  `siteId` and `siteType` are deprecated and no longer required. They were
  previously obtained from Settings → Stores → **Edit** and were passed in the
  request body. Existing integrations that still send these fields will continue
  to work.
</Note>

Example:

```plaintext theme={null}
X-Videowise-Access-Token: <your_access_token>
```

## Error Responses

If the token is missing or invalid, the API will return a **401 Unauthorized** error:

```JavaScript theme={null}
{
    "message": "Missing X-Videowise-Access-Token header"
}
```
