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

> Reserviert einen Upload für Bytes, die du lokal hältst.

Reserviert einen Upload für Bytes, die du lokal hältst.

## Eingabe

| Feld | Typ | Hinweise |
| - | - | - |
| `filename` | string | |
| `mime_type` | string | |
| `size_bytes` | number | |

## Ausgabe

`{ "upload_id": string, "upload_url": string, "expires_at": string }`. `upload_url` ist ein signierter Link, der kein Verbindungsgeheimnis trägt. Sende die Bytes per `PUT` dorthin, mit einem `Content-Length`, der nicht größer als `size_bytes` ist, und gib dann `upload_id` an [send\_media](https://docs.zapbip.com/de/mcp-reference/send-media.md) weiter. Der Upload läuft nach 15 Minuten ab. Eine fehlende Länge, ein größerer Body, ein falscher Typ oder ein abgelaufener Upload werden mit 411, 413, 415 oder 410 abgelehnt, und nichts wird gespeichert.

## Nachrichtenarten

| Art | Agent an Owner | Owner an Agent |
| - | - | - |
| `text` | [send\_message](https://docs.zapbip.com/de/mcp-reference/send-message.md) | Text |
| `image` | [send\_media](https://docs.zapbip.com/de/mcp-reference/send-media.md), bis zu 5 MB | das Bild inline bis 1 MB, sonst ein signierter Link |
| `video` | [send\_media](https://docs.zapbip.com/de/mcp-reference/send-media.md), bis zu 16 MB | signierter Link |
| `audio` | [send\_media](https://docs.zapbip.com/de/mcp-reference/send-media.md), bis zu 16 MB, `voice` für eine Sprachnachricht | signierter Link |
| `document` | [send\_media](https://docs.zapbip.com/de/mcp-reference/send-media.md), bis zu 100 MB | signierter Link, Dateiname und MIME-Typ |
| `sticker` | [send\_media](https://docs.zapbip.com/de/mcp-reference/send-media.md) | signierter Link |
| `location` | [send\_location](https://docs.zapbip.com/de/mcp-reference/send-location.md) | Breitengrad, Längengrad, Name und Adresse |
| `contacts` | [send\_contact](https://docs.zapbip.com/de/mcp-reference/send-contact.md) | die Kontaktkarten |
| `reaction` | [react](https://docs.zapbip.com/de/mcp-reference/react.md) | `message_id` und `emoji`, geleitet an den Agent, der die Nachricht gesendet hat, auf die reagiert wurde |
| `choice` | [ask](https://docs.zapbip.com/de/mcp-reference/ask.md), bis zu 3 Optionen als Buttons und 4 bis 10 als Liste | `option_id`, `title` und optional `description` |
| Zitat | `reply_to` bei jedem Senden | `reply_to`, geleitet an den Agent, der die zitierte Nachricht gesendet hat |


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