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

# create_upload

> 로컬에 있는 바이트를 위한 업로드를 예약해요.

로컬에 있는 바이트를 위한 업로드를 예약해요.

## 입력

| 필드 | 타입 | 비고 |
| - | - | - |
| `filename` | string | |
| `mime_type` | string | |
| `size_bytes` | number | |

## 출력

`{ "upload_id": string, "upload_url": string, "expires_at": string }`. `upload_url`은 연결 시크릿이 들어 있지 않은 서명된 링크예요. `size_bytes`보다 크지 않은 `Content-Length`와 함께 바이트를 이 링크로 `PUT`한 다음 `upload_id`를 [send\_media](https://docs.zapbip.com/ko/mcp-reference/send-media.md)에 전달하세요. 업로드는 15분 뒤에 만료돼요. 길이가 없거나, 본문이 더 크거나, 타입이 틀리거나, 업로드가 만료되었다면 411, 413, 415, 410으로 거부되고 아무것도 저장되지 않아요.

## 메시지 종류

| 종류 | 에이전트에서 소유자로 | 소유자에서 에이전트로 |
| - | - | - |
| `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.