Inbox
Upload media
Upload a multimedia attachment to temporary S3 storage prior to sending via WhatsApp
POST
Upload an image, document, audio file, or video to Sayvy AI storage. The response contains a temporary S3 key (
media_url) and MIME properties that can be directly passed into POST /api/v1/inbox/messages/{inbox_id}.
Authentication
This endpoint requires Bearer token authentication.Form Parameters
string
required
Bearer token for authentication. Format:
Bearer <token>.file
required
The binary multipart file upload. Supports PNG, JPG, PDF, DOCX, MP3, OGG, MP4.
Response Fields
string
Generated storage key (e.g.
inbox-media/temp/{org_id}/{temp_id}/{filename}).string
Detected content MIME type of the uploaded file.
string
Original filename extracted from multipart upload.
