ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Etiquetas → Enviar Mídia

AI-generated

Summary

The supplied operation details do not match: “Enviar Mídia” is defined in the source as a Mensagens operation, while Etiquetas has no operation with that name. The matching send-media operation sends image, audio, video, document, or sticker media to a WhatsApp number or group using a URL, Base64, or incoming binary item.

Inputs

  • Número (required) — Recipient phone number with country code, digits only, or a group JID.
  • Tipo — Media type: image (default), audio, video, document, or sticker.
  • Legenda — Caption for the media.
  • Origem da Mídia — Choose URL (default), Base64 / text, or a binary field from the incoming item.
  • URL da Mídia — Media URL; required when the source is URL.
  • Base64 — Raw Base64 or a Base64 data URL; required when the source is Base64.
  • Campo Binário — Incoming item's binary property name, defaulting to data; required when the source is binary.
  • MIME Type — Optional MIME type for Base64 or binary media; inferred from a data URL or binary metadata when available.
  • Nome do Arquivo — Optional filename for Base64 or binary media; defaults to file if not supplied.

Output shape

One output item per input item, containing the API response as JSON.

Requires ZapGate credentials with an instance ID and an admin API key or instance token. The operation is registered as message:sendMedia; no label:sendMedia operation appears in the source.

Examples

Example 1: The request specifies Etiquetas / Enviar Mídia, but the source registers Enviar Mídia under Mensagens. The description documents that mismatch and explains the source-defined send-media operation without presenting it as an Etiquetas action.

Resource: Mensagens; operation: Enviar Mídia; choose the recipient, media type, media source, and any relevant media value or metadata.

Links

Discussion