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

# Authentication required

> The API couldn't identify you, because the request doesn't include a valid API key.

**Error code:** `AUTHENTICATION_REQUIRED`

**Should you try again?** No, not until the request has a valid API key.

## Why it happens

* The `Authorization` header is missing.
* The header isn't in the `Bearer your_api_key` format.
* The key doesn't exist or was deleted.

## How to fix it

1. Send your API key in the `Authorization` header with the `Bearer` prefix:

   ```bash theme={null}
   curl "https://api.wavix.com/v1/whatsapp/senders" \
     -H "Authorization: Bearer your_api_key"
   ```
2. In the Wavix portal, go to **Administration** → **API Keys** and check that the key still exists. If it was deleted, create a new key and update your application.

For more information, see [Authentication](https://docs.wavix.com/api-reference/authentication.md).

## Technical details

| Detail | Value |
| - | - |
| Returned in | The response to an API request |
| HTTP status | `401` |
| `error_code` | `AUTHENTICATION_REQUIRED` |
| `error_class` | `permanent` |

For the error format and how to handle it, see [Request errors](https://docs.wavix.com/api-reference/errors.md#request-errors).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.