Messages
Image Messages
Image messages are messages that display a single image and an optional caption.
POST

Sending Image Messages
Use the POST /<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages endpoint to send an image message to a WhatsApp user.Request Syntax
Post Body
Post Body Parameters
Image caption text.Maximum 1024 characters.Example: The best succulent ever?
Required if using an uploaded media asset (recommended).Uploaded media asset ID.Example: 1479537139650973
Required if linking to your media asset (not recommended)URL of image asset on your public server. For better performance, we recommend that you upload your media asset instead.Example: https://www.luckyshrub.com/assets/succulents/aloe.png
Required. WhatsApp user phone number.Example: +16505551234
Supported Image Formats
Images must be 8-bit, RGB or RGBA.| Image Type | Extension | MIME Type | Max Size |
|---|---|---|---|
| JPEG | .jpeg | image/jpeg | 5 MB |
| PNG | .png | image/png | 5 MB |