ZAP-API icon

ZAP-API

Enviar mensagens WhatsApp via ZAP-API

Send

AI-generated

Summary

Sends WhatsApp messages via ZAP-API using a configured instance ID, supporting text, media, and documents with optional captions or file names.

Inputs

  • Instance Name or ID (required) — Choose the WhatsApp instance from the dropdown or specify its ID using an expression.
  • Phone (required) — The recipient phone number (e.g., 5511999999999).
  • Type — Message type: text, image, audio, video, or document.
  • Text — The message body. Required when Type is 'text'.
  • Media URL — URL of the media file. Required for image, audio, video, and document types.
  • Caption — Optional caption for images, videos, and documents.
  • File Name — Optional file name for documents.
  • Request Options — Configuration for batching, SSL, proxy, and timeout.

Output shape

a list of items containing the API response for each sent message

Uses the instance's base URL from credentials. The operation returns the raw response from the API for each message sent.

Examples

Example 1: Send a text message to a phone number

Type: Text; Phone: 5511999999999; Text: Hello World

Example 2: Send an image with a caption

Type: Image; Phone: 5511999999999; Media URL: https://example.com/image.jpg; Caption: Look at this

Example 3: Send a document file

Type: Document; Phone: 5511999999999; Media URL: https://example.com/file.pdf; File Name: report.pdf

Links

Discussion