MBKChat icon

MBKChat

Desfrute da MbkChat_API

Chat → Send Image

AI-generated

Summary

Send an image to a WhatsApp chat

Inputs

  • phone (required) — Phone number to send message to (e.g. 5511999999999)
  • caption — Caption for the media
  • data — Base64 encoded data (with or without data URI scheme) OR a direct URL (http/https)

Output shape

Array of JSON responses from the WhatsApp API, each corresponding to the POST request executed per input item

Returned data reflects the raw API response; errors are pushed as { error: message } when continueOnFail is true

Examples

Example 1: Send an image with a caption

phone: '5511999999999', caption: 'Sunset at the beach', data: '/path/to/image.jpg'

Links

Discussion