ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Plataforma → Enviar Mídia

AI-generated

Summary

Sends an image, audio file, video, document, or sticker to a WhatsApp recipient through the ZapGate instance. Choose the media source and provide the required recipient and media; a caption is optional.

Inputs

  • to (required) — Recipient phone number with country code (DDI), digits only; for groups, use the group JID.
  • type — Media type: image (default), audio, video, document, or sticker.
  • caption — Caption to include with the media.
  • mediaSource — Select URL (default), Base64 / Text, or Binary (field from input item) as the media source.
  • url — Media URL; required when mediaSource is URL.
  • base64 — Base64 data or a base64 data URL; required when mediaSource is Base64 / Text.
  • binaryPropertyName — Name of the input item's binary field when mediaSource is Binary; defaults to data.
  • mimetype — Optional MIME type for Base64 or binary media. Defaults to the data URL or binary MIME type when available, otherwise application/octet-stream.
  • filename — Optional filename for Base64 or binary media; defaults to the binary filename when available, otherwise file.

Output shape

One output item per input item, containing the ZapGate API response in json.

Uses the required ZapGate credentials and instance authorization. If Continue On Fail is enabled, failed items return json.error instead of stopping execution.

Links

Discussion