---
title: "ImageMessage"
description: "An image from a public URL, with an optional caption. Requires an active chat window."
---

> Documentation Index
> Fetch the complete documentation index at: https://zacx.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Zacx Public API

An image from a public URL, with an optional caption. Requires an active chat window.

## Fields

- `ImageMessage.wabaNumber` (string, required) — Your WhatsApp API number to send from, with country code.
  - example `"919705182126"`
- `ImageMessage.recipient` (object, required)
  - `ImageMessage.recipient.phoneNumber` (string, required) — The contact's phone number, with country code.
    - example `"919999999999"`
  - `ImageMessage.recipient.name` (string, optional) — Optional display name, saved to the contact if it is new.
    - example `"Raj S"`
  - `ImageMessage.recipient.email` (string, optional) — Optional email, saved to the contact if it is new.
    - format `email`
- `ImageMessage.type` (unknown, required)
- `ImageMessage.url` (string, required) — Public URL of the image.
  - format `uri`; example `"https://example.com/demo.png"`
- `ImageMessage.caption` (string, optional)
  - example `"Check out this image!"`


Source: https://zacx.io/api/schemas/ImageMessage/index.md
