Actions14
Send Image
AI-generatedSummary
Send an image to a WhatsApp contact using a specified WapiZap instance.
Inputs
- apiVersion — API version to use (V2 - Modern REST recommended or V1 - Evolution Compatible)
- instanceName (required) — Instance to send message from
- to (required) — Phone number to send message to
- mediaUrl (required) — URL of the media file
- caption — Caption for the media
- delay — Delay before sending message in milliseconds
- fileName — Custom file name for documents
Output shape
an array of result objects
Each element contains a 'json' payload (e.g., sent message details) or an 'error' field; the array preserves input order and includes a 'pairedItem' linking back to the original input.
Examples
Example 1: Send a promotional image to a customer
apiVersion=v2, instanceName=my-instance, to=5511999998888, mediaUrl=https://example.com/promo.jpg, caption=Special offer, additionalOptions={delay:500, fileName=promo.jpg}
Example 2: Send an image with a caption to a contact
apiVersion=v2, instanceName=group-instance, to=5551234567777, mediaUrl=https://example.com/photo.png, caption=Check out our event, additionalOptions={delay:0}
Example 3: Send an image after a delay
apiVersion=v2, instanceName=my-instance, to=5559876543210, mediaUrl=https://example.com/image.gif, caption=Reminder, additionalOptions={delay:10000}
