Skip to main content
Send images with optional captions to share product photos, receipts, or visual content.

Send an Image

const result = await zavu.messages.send({
  to: "+14155551234",
  channel: "whatsapp",
  messageType: "image",
  content: {
    mediaUrl: "https://example.com/product.jpg",
  },
});

Image with Caption

const result = await zavu.messages.send({
  to: "+14155551234",
  channel: "whatsapp",
  messageType: "image",
  text: "Check out our new product!",
  content: {
    mediaUrl: "https://example.com/product.jpg",
  },
});

Specifications

PropertyRequirement
FormatsJPEG, PNG
Max size5 MB
CaptionOptional, max 1024 chars

URL Requirements

Your image URL must:
  • Be publicly accessible (no authentication)
  • Use HTTPS
  • Return the correct Content-Type header
  • Be available for at least 24 hours
Private or expiring URLs will cause delivery failures. Use a CDN or cloud storage for reliable hosting.

Use Cases

  • Product photos
  • Order receipts
  • QR codes
  • Promotional banners
  • Visual instructions