Skip to main content
POST

Sending Text Messages

Use the POST /<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages endpoint to send a text message to a WhatsApp user.

Request Syntax

Post body

Post Body Parameters

string
required
Message body text. Supports URLs.Maximum 4096 characters.Example: As requested, here’s the link to our latest product: https://www.meta.com/quest/quest-3/
Set to true to have the WhatsApp client attempt to render a link preview of any URL in the body text string.See Link Preview below.Example: true
string
required
WhatsApp user phone number.Example: +16505551234
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

Example Request to send a text message with link previews enabled and a body text string that contains a link.