Digitalsac DigiCrm icon

Digitalsac DigiCrm

Interact with the Digitalsac DigiCrm API (WhatsApp, tickets, scheduling, WABA templates and more).

Actions396

WABA Template → Send Base64 File

AI-generated

Summary

Send a WhatsApp message with an attached file encoded in base64 to a specified phone number using the Digitalsac API.

Inputs

  • param (required) — Connection UUID used to identify the WhatsApp connection; required for this operation.
  • base64PhoneNumber (required) — Recipient's phone number with country and area code (e.g., 5511999999999).
  • mediaBase64 (required) — File contents encoded in base64 format.
  • mimeType (required) — MIME type of the file (e.g., image/png, application/pdf).
  • fileName (required) — Filename for the attached file including extension (e.g., file.png).
  • base64Caption — Optional caption text to accompany the file message.
  • externalKey — Optional unique identifier for the message to track or reference it.

Output shape

a single JSON object representing the API response for the sent message

Returns the full response from the Digitalsac API after sending the base64 encoded file message. The response structure depends on the API and includes details such as message status or errors if any occur.

Links

Discussion