WatZap Actions icon

WatZap Actions

Send WhatsApp messages via WatZap API

Send File Message Official

AI-generated

Summary

Send a file message via the WatZap WhatsApp Business API using the official WABA endpoint.

Inputs

  • Number Key (required) — Number Key of the WhatsApp account used to send messages.
  • Phone Number (required) — Recipient's phone number in international format without the plus sign (e.g., 62812xxxxxxx).
  • File URL (required) — Publicly accessible URL of the file to be sent.

Output shape

a single JSON object per input item indicating success or failure, including the operation performed, recipient phone number, timestamp, and the API response data or error message.

Outputs include the original input context for error reporting. Successful responses contain the API's data under 'data', timestamp, and related parameters. Failed responses contain an error message under 'error'.

Examples

Example 1: Send a PDF document file to a WhatsApp contact.

Provide the Number Key for your WhatsApp account, the recipient's phone number in international format without plus sign, and a HTTPS URL accessible publicly pointing to the PDF file.

Links

Discussion