Palantiri API icon

Palantiri API

Enviar mensagens e consultar a Palantiri API (WhatsApp)

Enviar Documento

AI-generated

Summary

Send a document file via the Palantiri API to a WhatsApp contact or group.

Inputs

  • Instance ID (required) — ID of the Palantiri API instance; must match the instance owning the API key if using an instance key.
  • Para (JID Ou Número) (required) — Recipient's WhatsApp number with country code (e.g., 5511999999999) or group JID (e.g., 120363xxx@g.us).
  • Legenda — Optional caption text to accompany the document.
  • Fonte Da Mídia (required) — Select whether the document is provided as binary data from the input item or as a Base64 string.
  • Binary Property (required) — Name of the binary property in the input item containing the document content, if media source is binary.
  • Conteúdo Base64 (required) — Base64-encoded content of the document file, if media source is base64.
  • Mimetype — MIME type of the document; if empty, uses the MIME type from binary data or defaults to 'application/octet-stream'.
  • Nome Do Arquivo — Optional file name for the document; if empty, uses the binary property name or defaults to 'document.bin'.

Output shape

a single JSON object per input item representing the API response

Returns the response JSON from the Palantiri API indicating success or failure of the document send operation; paired to the corresponding input item.

Links

Discussion