Send an image message with an optional caption to an existing contact.
| Field | Type | Required | Description |
|---|---|---|---|
phone_number | string | Yes | Recipient phone number with country code |
message_type | string | Yes | Must be "image" |
media_url | string | Yes | Publicly accessible URL to the image |
caption | string | No | Optional caption |
context_message_id | string | No | WhatsApp message ID to reply to |
Bearer token for authentication. Format: Bearer YOUR_BEARER_TOKEN
Recipient phone number with country code
"+27123456789"
Must be "image"
image "image"
Publicly accessible URL to the image file
"https://example.com/product.jpg"
Optional caption for the image
"Check out this image!"
WhatsApp message ID to reply to
"wamid.HBgLMjc4MTIzNDU2NzgVAgASGBQzRUI..."