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

# Autenticación

> Tu API key en el header X-Api-Key.

## Autenticación

Todos los endpoints requieren tu API key en el header `X-Api-Key`.

```http theme={"system"}
X-Api-Key: <tu_api_key>
```

Recibes tu API key al contratar tu plan, en la misma conversación con el [agente de CUCU en WhatsApp](https://wa.me/59160522508) (o en app.cucu.bo). Cada comercio tiene su propia llave, distinta para pruebas y para producción.

Sin llave o con una llave inválida la API responde `401`:

```json theme={"system"}
{ "detail": "X-Api-Key inválido o merchant inactivo" }
```
