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

# get_messages

> Lee los mensajes sin leer del propietario y el historial reciente.

Lee los mensajes sin leer del propietario y el historial reciente.

## Entrada

| Campo | Tipo | Notas |
| - | - | - |
| `limit` | number, opcional | Tamaño del historial. |

## Salida

Los mensajes sin leer del propietario, que pasan a leídos, más los últimos 20 mensajes intercambiados.

## Tipos de mensaje

| Tipo | Del agente al propietario | Del propietario al agente |
| - | - | - |
| `text` | [send\_message](https://docs.zapbip.com/es/mcp-reference/send-message.md) | texto |
| `image` | [send\_media](https://docs.zapbip.com/es/mcp-reference/send-media.md), hasta 5 MB | la imagen en línea hasta 1 MB, si no un enlace firmado |
| `video` | [send\_media](https://docs.zapbip.com/es/mcp-reference/send-media.md), hasta 16 MB | enlace firmado |
| `audio` | [send\_media](https://docs.zapbip.com/es/mcp-reference/send-media.md), hasta 16 MB, `voice` para una nota de voz | enlace firmado |
| `document` | [send\_media](https://docs.zapbip.com/es/mcp-reference/send-media.md), hasta 100 MB | enlace firmado, nombre del archivo y tipo MIME |
| `sticker` | [send\_media](https://docs.zapbip.com/es/mcp-reference/send-media.md) | enlace firmado |
| `location` | [send\_location](https://docs.zapbip.com/es/mcp-reference/send-location.md) | latitud, longitud, nombre y dirección |
| `contacts` | [send\_contact](https://docs.zapbip.com/es/mcp-reference/send-contact.md) | las tarjetas de contacto |
| `reaction` | [react](https://docs.zapbip.com/es/mcp-reference/react.md) | `message_id` y `emoji`, enrutados al agente que envió el mensaje reaccionado |
| `choice` | [ask](https://docs.zapbip.com/es/mcp-reference/ask.md), hasta 3 opciones como botones y de 4 a 10 como lista | `option_id`, `title` y `description` opcional |
| cita | `reply_to` en cada envío | `reply_to`, enrutado al agente que envió el mensaje citado |


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