Skip to main content

Tally WhatsApp Send

Use this API to send a PDF-backed WhatsApp template message from the Tally integration. The request can upload a PDF directly or send the PDF as Base64.

At A Glance

POST/v2/tally/send-whatsapp
AreaDetail
Base URLhttps://api.mulltiply.org
AuthenticationAuthorization: Bearer <token>
Recommended content typemultipart/form-data
Alternative content typeapplication/json with Base64 PDF
Document typePDF only
Maximum file size10 MB
warning

The request field is implemented as recievingPhoneNumber. Keep this spelling for compatibility, even though the correct English spelling is receiving.

Request Modes

Mode 1: multipart/form-data

Use this mode when uploading a PDF file directly.

FieldRequiredDescription
documentYesPDF file, maximum 10 MB.
workspaceIdYesWorkspace that owns the WhatsApp configuration.
templateNameYesSupported WhatsApp template name.
recievingPhoneNumberYesRecipient phone number with country code.
Template parametersYesFields required by the selected template.

Mode 2: application/json

Use this mode when sending the PDF as Base64 bytes.

FieldRequiredDescription
documentBufferYesBase64 string of PDF bytes.
workspaceIdYesWorkspace that owns the WhatsApp configuration.
templateNameYesSupported WhatsApp template name.
recievingPhoneNumberYesRecipient phone number with country code.
Template parametersYesFields required by the selected template.

Supported Templates

Template nameRequired parameters
mulltiply_order_invoice_tallycustomerName, orderId, amount, date
mulltiply_payment_ledger_tallycustomerName, fromDate, toDate, partyName
mulltiply_shipment_confirmation_tallycustomerName, orderId, date

The API validates missing, empty, and unexpected template fields.

Headers

Multipart Upload

Authorization: Bearer YOUR_TOKEN
Content-Type: multipart/form-data

JSON Base64 Upload

Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

No additional WhatsApp API token is required from the client in this request.

Request Examples

Multipart order invoice
curl --location 'https://api.mulltiply.org/v2/tally/send-whatsapp' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--form 'document=@"./invoice.pdf"' \
--form 'workspaceId="1001"' \
--form 'templateName="mulltiply_order_invoice_tally"' \
--form 'recievingPhoneNumber="+919999900001"' \
--form 'customerName="Demo Customer"' \
--form 'orderId="ORD-DEMO-1001"' \
--form 'amount="100.00"' \
--form 'date="2026-03-24"'

Validation Rules

AreaRule
Filedocument or documentBuffer is required.
File typeFile must be a PDF.
File sizePDF must be 10 MB or smaller.
TemplatetemplateName must match one supported template exactly.
Template fieldsRequired fields must be present and non-empty. Extra fields are rejected.
WorkspaceworkspaceId is required and must have WhatsApp sending configured.
RecipientrecievingPhoneNumber must include country code.

Accepted phone examples include +919999900001, 919999900001, and 19999900001.

Success Response

Success response
{
"success": true,
"message": "WhatsApp message sent successfully"
}

Error Cases

CaseConditionTypical message
File missingNeither document nor documentBuffer provided.File is required
Invalid templatetemplateName is not supported.Invalid template name provided
Missing template paramsRequired template fields are missing.Missing required parameters for template <templateName>
Invalid recipientPhone number cannot be normalized or lacks country code.Invalid recipient phone number
Invalid file typeBuffer is not a PDF.Invalid file buffer provided. Expected a PDF file.
File too largePDF size is greater than 10 MB.Document size exceeds the maximum allowed size of 10 MB
Workspace config missingWorkspace has no valid WhatsApp config.No WhatsApp configuration found for this workspace
Media upload failedWhatsApp media upload failed.Failed to upload media to WhatsApp: <reason>

Postman Setup

SettingValue
MethodPOST
URLhttps://api.mulltiply.org/v2/tally/send-whatsapp
AuthBearer Token
Body for direct uploadform-data with document and template fields
Body for Base64Raw JSON with documentBuffer

Implementation Checklist

  • Use multipart upload when the PDF file is available locally.
  • Use JSON mode only when you already have PDF bytes as Base64.
  • Keep the key name recievingPhoneNumber.
  • Send only fields required by the selected template.
  • Confirm the workspace has WhatsApp sending configured.
  • Confirm the PDF is under 10 MB.