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

> 읽지 않은 소유자 메시지와 최근 기록을 읽어요.

읽지 않은 소유자 메시지와 최근 기록을 읽어요.

## 입력

| 필드 | 타입 | 비고 |
| - | - | - |
| `limit` | number, 선택 | 기록의 크기. |

## 출력

읽지 않은 소유자 메시지(읽음 처리됨)와, 가장 최근에 주고받은 메시지 20개.

## 메시지 종류

| 종류 | 에이전트에서 소유자로 | 소유자에서 에이전트로 |
| - | - | - |
| `text` | [send\_message](https://docs.zapbip.com/ko/mcp-reference/send-message.md) | 텍스트 |
| `image` | [send\_media](https://docs.zapbip.com/ko/mcp-reference/send-media.md), 최대 5 MB | 1 MB 이하면 이미지를 그대로, 그 외에는 서명된 링크 |
| `video` | [send\_media](https://docs.zapbip.com/ko/mcp-reference/send-media.md), 최대 16 MB | 서명된 링크 |
| `audio` | [send\_media](https://docs.zapbip.com/ko/mcp-reference/send-media.md), 최대 16 MB, 음성 메시지는 `voice` | 서명된 링크 |
| `document` | [send\_media](https://docs.zapbip.com/ko/mcp-reference/send-media.md), 최대 100 MB | 서명된 링크, 파일 이름, MIME 타입 |
| `sticker` | [send\_media](https://docs.zapbip.com/ko/mcp-reference/send-media.md) | 서명된 링크 |
| `location` | [send\_location](https://docs.zapbip.com/ko/mcp-reference/send-location.md) | 위도, 경도, 이름, 주소 |
| `contacts` | [send\_contact](https://docs.zapbip.com/ko/mcp-reference/send-contact.md) | 연락처 카드 |
| `reaction` | [react](https://docs.zapbip.com/ko/mcp-reference/react.md) | `message_id`와 `emoji`. 반응한 메시지를 보낸 에이전트에게 전달돼요 |
| `choice` | [ask](https://docs.zapbip.com/ko/mcp-reference/ask.md), 3개까지는 버튼, 4\~10개는 목록 | `option_id`, `title`, 선택 항목인 `description` |
| 인용 | 모든 전송에 `reply_to` | `reply_to`. 인용된 메시지를 보낸 에이전트에게 전달돼요 |


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