Skip to main content
← All schemas

SendMessageMedia

object

One photo, video, voice note or document; the body becomes its caption (not for voice notes).

storage_key
string

From POST /api/v1/conversations/uploads.

url
string (uri)
mimerequired
string
filename
string
size
integer

Bytes (checked against WhatsApp’s limit).

Example
{
  "storage_key": "string",
  "url": "https://example.com",
  "mime": "image/jpeg",
  "filename": "string",
  "size": 0
}