> For the complete documentation index, see [llms.txt](https://guia.fenicio.help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guia.fenicio.help/panel-de-gestion/accesos-y-usuarios/tokens-de-acceso-api-v1.md).

# Tokens de acceso API V1

{% hint style="warning" %}
**Nuevo en Fenicio GO**\
Ahora podés crear y administrar los **tokens de acceso API V1** desde el administrador.
{% endhint %}

### ¿Qué son los tokens?

Los tokens permiten que sistemas externos, como una logística, un ERP u otra integración, se conecten de forma segura con API V1 de Fenicio.

Este mecanismo reemplaza el acceso mediante direcciones IP autorizadas y permite que cada tienda gestione sus propias credenciales.

### ¿Quién puede gestionarlos?

Los tokens pueden ser creados y eliminados únicamente por usuarios con rol:

* **Administrador**

### Crear un token

1. Ingresa a la sección de tokens de la API V1.
2. Selecciona **Crear token**.
3. Ingresa una descripción que permita identificar su uso.
4. Confirma la creación.
5. Copia y guarda el código generado.

La descripción puede contener hasta 64 caracteres.

{% hint style="danger" %}
El token se muestra una sola vez. Debes copiarlo y guardarlo al momento de generarlo.
{% endhint %}

### Límite de tokens

Cada sitio puede tener un máximo de **cinco tokens**.

Cuando se alcanza el límite, la opción para crear uno nuevo queda deshabilitada.

Para generar otro token, primero debes eliminar uno que ya no se utilice.

### Compartir un token

La tienda puede compartir el token con el proveedor o equipo técnico responsable de la integración.

Recomendaciones:

* Utiliza un canal seguro.
* Compártelo únicamente con personas autorizadas.
* No lo publiques en documentación abierta.
* Genera un token diferente para cada sistema o proveedor.

### Eliminar un token

Elimina un token cuando:

* La integración deje de utilizarse.
* Cambies de proveedor.
* El código haya quedado expuesto.
* Necesites liberar un lugar para crear otro.

Antes de eliminarlo, verifica que ninguna integración activa dependa de ese token.

### Historial de cambios

El módulo incluye un historial que permite consultar:

* Creación de tokens.
* Modificaciones.
* Eliminaciones.
* Fecha y hora de la acción.
* Usuario responsable.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guia.fenicio.help/panel-de-gestion/accesos-y-usuarios/tokens-de-acceso-api-v1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
