Content Type - Image

Learn the specifics of how to send messages with an image on WhatsApp.

Sending images alongside WhatsApp messages strengthens your brand and makes your offers catchier. You can also send messages in the form of an image and caption together. Image captions can be up to 4096 characters long.

The following image types are supported:

  • JPG
  • PNG

Image sizes can be up to 5MB.

ℹ️ QR codes can be shared as an image.

ℹ️ Do you want to send an image as a media message template? Check how to integrate images in your media message template here.

image_wa_conversation_rounded_borders_image_message_as_image_message_0.35x

How to send an image

curl –XPOST https://api.tyntec.com/conversations/v3/messages\
  -H 'Content-Type: application/json' \
  -H 'apikey: <API KEY>' \
  -d '{
{
    "from" : "{{whatsAppBusinessNumber}}",
    "to" : "{{receiverPhoneNumber}}",
    "channel" : "whatsapp",
    "content" : {
        "contentType" : "image",
        "image" : {
            "url": "https://upload.wikimedia.org/wikipedia/commons/6/6c/Sample_EPC_QR_code.png",
            "caption" : "An optional caption"
        }
    }
}