Palantiri API icon

Palantiri API

Enviar mensagens e consultar a Palantiri API (WhatsApp)

Enviar Áudio

AI-generated

Summary

Send an audio message to a specified WhatsApp contact or group using the Palantiri API by providing the instance ID, destination JID or phone number, and the audio media content either as binary data or base64 string.

Inputs

  • Instance ID (required) — ID of the Palantiri API instance. Must match the instance owning the API key used.
  • Para (JID Ou Número) (required) — Recipient's phone number with country code (e.g., 5511999999999) or group JID (e.g., 120363xxx@g.us).
  • Fonte Da Mídia (required) — Source of the audio media content, either from input binary property or a base64 encoded string.
  • Binary Property (required) — Name of the binary property of the input item containing the audio file, required if media source is binary.
  • Conteúdo Base64 (required) — Base64 string of the audio file content, required if media source is base64.
  • Mimetype — MIME type of the audio file (e.g., audio/ogg). If omitted, the MIME type from binary data or the default 'audio/ogg' is used.

Output shape

a single JSON object representing the Palantiri API's response from the send-audio endpoint for each input item

Returns JSON response from the API; errors are returned or thrown based on node settings.

Links

Discussion