FZAP icon

FZAP

Interact with FZAP WhatsApp API

Actions176

Chat → Send Document

AI-generated

Summary

Sends a document to a WhatsApp recipient using the selected FZAP instance. The document can be supplied as base64 or a data URL, or as a URL; optional settings control the caption, message ID, mentions, and reply context.

Inputs

  • Access Mode — Choose Instance (Use Credential Token) or Admin (Select Instance).
  • Instance Name or ID (required) — In Admin mode, select an instance or provide its ID.
  • Phone Number (required) — Recipient phone number with country code, without a leading +.
  • Document (required) — Document content as base64, a data URL, or a URL.
  • Filename (required) — Name of the document file.
  • Options — Optional media settings include a caption, custom message ID, mention-all flag, comma-separated mentioned JIDs, MIME type, reply-to message ID and participant, and simulated typing time. The source implementation was not included in the supplied pack, so runtime handling of these options cannot be confirmed.

Output shape

A response from the FZAP API for the send-document request.

The supplied source pack omits the implementation bodies, so the exact response fields and runtime behavior are not visible.

Links

Discussion