# Bot

En esta sección se encuentran los servicios relacionados con la configuración del bot que interactúa con la consola de B2Chat a través de la API de Desborde.

Estos servicios permiten personalizar cómo se identifica tu chatbot dentro de la plataforma, facilitando que los agentes puedan reconocer fácilmente el origen de las conversaciones transferidas desde sistemas externos.

## Personalizar ícono

Este servicio permite definir la imagen que representará a tu bot dentro de la consola de B2Chat. Este ícono ayuda a identificar visualmente el chatbot que origina la conversación cuando esta es transferida a un agente humano. La imagen debe ser accesible mediante una URL pública para que pueda ser cargada correctamente por la plataforma.

## POST /bots/icon

>

```json
{"openapi":"3.0.3","info":{"title":"B2Chat Auth API","version":"1.1.0"},"servers":[{"url":"https://api.b2chat.io"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/bots/icon":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"URL pública de la imagen que se usará como ícono del bot."}}}}}},"responses":{"201":{"description":"Ícono del bot configurado correctamente","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://b2chat.gitbook.io/b2chat-api-transferencia/nuestros-servicios/bot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
