For the complete documentation index, see llms.txt. This page is also available as Markdown.

Image

This page describes image messages on the WhatsApp Business Platform.

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

Image Messages Request

POST https://waba-v2.360dialog.io/messages

Use the messages endpoint to send an image message to a WhatsApp user.

Headers

Name
Value

Content-Type

application/json

Authorization

D360-API-KEY

Body Example

{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "<WHATSAPP_USER_PHONE_NUMBER>",
  "type": "image",
  "image": {
    "id": "<MEDIA_ID>", <!-- Only if using uploaded media -->
    "link": "<MEDIA_URL>", <!-- Only if using hosted media (not recommended) -->
    "caption": "<MEDIA_CAPTION_TEXT>"
  }
}

Response

Last updated

Was this helpful?