Overview
Sends a file to the contact. Thecontent.type field is DOCUMENT.
The name the customer sees is built from name and extension: "name": "invoice" with "extension": "pdf"
arrives as invoice.pdf, with the PDF icon.
Request body
By URL:url itself:
Attachment fields
Rules
What changes on each channel
The conditions are explained in what each channel accepts.
When the channel refuses the file
The API answers200 with the messageId as soon as it accepts the request. If the channel later refuses the
file, for example a Base64 on Telegram or a spreadsheet on Instagram, the message does not arrive, and the
failure comes in the message status webhook (MESSAGE_STATUS). See channel webhooks.