Digitalsac DigiCrm icon

Digitalsac DigiCrm

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

Actions396

Tag → Send Base64 File

AI-generated

Summary

Send a file encoded in base64 format as a media message to a specified WhatsApp phone number using the Digitalsac DigiCrm API.

Inputs

  • param (required) — Connection UUID identifying the destination connection to send the file.
  • base64PhoneNumber (required) — Recipient's WhatsApp phone number with country and area code (e.g., 5511999999999).
  • mediaBase64 (required) — Contents of the file encoded in base64.
  • mimeType (required) — MIME type of the file (e.g., image/png, application/pdf).
  • fileName (required) — Name of the file including the extension (e.g., file.png).
  • base64Caption — Optional caption to include with the file.
  • externalKey — Optional unique identifier for the message.

Output shape

a single JSON object

Returns the JSON response from the Digitalsac DigiCrm API representing the result of the file send operation. If multiple items are processed, each item's response is output separately with paired item information.

Examples

Example 1: Sending a base64 encoded PNG image to a user's WhatsApp

Set 'param' to the connection UUID, 'base64PhoneNumber' to the recipient's phone number, provide the base64 encoded image in 'mediaBase64', specify 'mimeType' as 'image/png', assign 'fileName' to 'image.png', optionally add a caption in 'base64Caption', and optionally set an 'externalKey' for message tracking.

Links

Discussion