Z-API WhatsApp icon

Z-API WhatsApp

Integration with Z-API (WhatsApp) organized by resources (messages, groups, chats, contacts, products, queue, instance, status, etc.).

Message → Send an Image

AI-generated

Summary

Send an image to a contact or group.

Inputs

  • phone (required) — Contact number (or group ID) in international format, digits only.
  • imageUrl (required) — URL of the image to send.
  • delayMessage — Delay in seconds before sending (1-15). 0 uses API default.

Output shape

a JSON object representing the API response

The raw HTTP response may contain success data or error details; shape is not strictly defined.

Examples

Example 1: Send a promotional picture to a contact.

phone=5511999999999, imageUrl=https://example.com/promo.jpg, delayMessage=2

Example 2: Send an image to a group with a 3-second delay.

phone=5511999999999, imageUrl=https://example.com/group.jpg, delayMessage=3

Links

Discussion