v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

๐Ÿ“ท Send Image

The Send Image endpoint lets users send image files directly to WhatsApp users. Whether it's product photos, promotional banners, memes, or personal photos, this feature supports media-rich communication. Developers can specify the image format and size, ensuring high-quality content delivery. This is especially useful for e-commerce businesses, media companies, and customer support teams that need to share visual information with customers or clients.

post/send-message/image

Request body

contact_idstring required

The contact id

captionstring required

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "id": "3EB07CC53CA5E8782F916D",
    "status": "PENDING",
    "message": {
      "caption": "Checkout this image, its hilarious!",
      "image": "https://mmg.whatsapp.net/o1/v/t62.7118-24/f1/m234/up-oil-image-6db06e73-e279-45d5-9b44-a2ddee29eca6?ccb=9-4&oh=01_Q5AaIOoWYNKDFFfjS7HkJhUg6PKkSkkLT9RoW5GsZFzoc-fb&oe=67053B60&_nc_sid=000000&mms3=true",
      "details": {
        "mimetype": "image/jpeg",
        "height": 460,
        "width": 460,
        "mediaKey": "Mk2merHgTA4yqUgTSAub3MAUc40ntzey7oL/smkekPk=",
        "fileSha256": "P+TsA1O+Ny4yhpbwR6HKVPzVNOFZkaQVj0SkDC1E+Oc=",
        "timestamp": "1725806690"
      }
    },
    "timestamp": "1725806690"
  }
}