Text messages | Developer Documentation
Text messages
Updated: Nov 3, 2025
Text messages are messages containing only a text body and an optional link preview.

Request
syntax
curl 'https://graph.facebook.com/<API_VERSION>/<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -d ' { "messaging_product": "whatsapp", "recipient_type": "individual", "to": "<WHATSAPP_USER_PHONE_NUMBER>", "type": "text", "text": { "preview_url": <ENABLE_LINK_PREVIEW>, "body": "<BODY_TEXT>" } }'
Request parameters
| | |
| ||
| | |
| | |
| | |
| |
Link preview
You can have the WhatsApp client attempt to render a preview of the first URL in the body text string, if it contains one. URLs must begin with
http:// or https://. If multiple URLs are in the body text string, only the first URL will be rendered.If omitted, or if unable to retrieve a link preview, a clickable link will be rendered instead.
Example request
curl 'https://graph.facebook.com/v25.0/106540352242922/messages' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer EAAJB...' \
-d '
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "+16505551234",
"type": "text",
"text": {
"preview_url": true,
"body": "As requested, here'\''s the link to our latest product: https://www.meta.com/quest/quest-3/"
}
}'Example response
{ "messaging_product": "whatsapp", "contacts": [ { "input": "+16505551234", "wa_id": "16505551234" } ], "messages": [ { "id": "wamid.HBgLMTY0NjcwNDM1OTUVAgARGBI1RjQyNUE3NEYxMzAzMzQ5MkEA" } ] }