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

# Send WhatsApp Media

> Send an image, video, or document via WhatsApp

# Send WhatsApp Media

Send an image, video, or document via WhatsApp

## Properties

| Property   | Value               |
| ---------- | ------------------- |
| **Type**   | whatsapp-send-media |
| **Family** | Integrations        |
| **Group**  | WhatsApp            |

## Parameters

| Name      | Label      | Type   | Description                                      | Required |
| --------- | ---------- | ------ | ------------------------------------------------ | -------- |
| to        | To         | String | Phone number (with country code) or WhatsApp JID | Yes      |
| mediaUrl  | Media URL  | String | URL of the media file to send                    | Yes      |
| mediaType | Media Type | Select |                                                  | Yes      |
| caption   | Caption    | String | Optional caption for the media                   | No       |
| fileName  | File Name  | String | Optional file name for documents                 | No       |

## Outputs

| Name      | Label     | Type    | Description                         |
| --------- | --------- | ------- | ----------------------------------- |
| success   | success   | boolean | Whether media was sent successfully |
| messageId | messageId | string  | Sent message ID                     |
| error     | error     | string  | Error message if failed             |
