Document
This page describes document messages on the WhatsApp Business Platform.
Document Message Request
Name
Value
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "<WHATSAPP_USER_PHONE_NUMBER>",
"type": "document",
"document": {
"id": "<MEDIA_ID>", <!-- Only if using uploaded media -->
"link": "<MEDIA_URL>", <!-- Only if using hosted media (not recommended) -->
"caption": "<MEDIA_CAPTION_TEXT>",
"filename": "<MEDIA_FILENAME>",
"caption": "<MEDIA_CAPTION_TEXT>"
}
}Supported document types
Last updated
Was this helpful?
