> ## 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

> Bearer token en el header Authorization. Emitido por CUCU en el onboarding.

## Autenticación

Todos los endpoints autenticados requieren un **Bearer token** en el header `Authorization`.

```http theme={"system"}
Authorization: Bearer <tu_api_token>
```

Los tokens son emitidos por CUCU durante el proceso de onboarding. Cada comercio recibe un token único que lo identifica de forma unívoca en el sistema.

| Escenario                     | Header a usar                            |
| ----------------------------- | ---------------------------------------- |
| Integración comercio estándar | `Authorization: Bearer <COMMERCE_TOKEN>` |
| Panel administrativo CUCU     | `Authorization: Bearer <ADMIN_TOKEN>`    |

Los requests sin token o con token inválido reciben `401 Unauthorized`.
