Skip to main content
In development. This endpoint does not exist yet. The page is published so you can get to know the shape and plan the integration — the body below is what will apply when it ships.

Overview

Sends a file to the contact. WhatsApp picks the icon from the extension and the name you provide. The content.type field will be DOCUMENT.

Request body

Rules

The fileName goes with the extension, like invoice.pdf. There is a known defect in that field on the Z-API compatibility layer today: with the extension the file arrives as invoice.pdf.pdf, and without it it arrives as invoice.null.