Popular WhatsApp tools
- Send a WhatsApp text message — Send free-form text to a WhatsApp user. Only allowed within 24 hours of the user’s last message; outside that window Meta returns error 131047 and you must use whatsapp_send_template. Bodies over 4096 characters are rejected; split them first.
- Send a WhatsApp template message — Send an approved message template. This is the only way to start a conversation or reach a user whose 24 hour customer service window has closed. Components carry header, body, and button parameters in Meta’s format.
- Send a WhatsApp media message — Send an image, video, audio, document, or sticker by public link or previously uploaded media id. Subject to the same 24 hour window as text.
- React to a WhatsApp message — Add an emoji reaction to a message the user sent, or remove one by passing an empty emoji. Reactions are lightweight acknowledgements and do not open or extend the 24 hour window.
- Mark a WhatsApp message read — Mark an inbound message as read (blue ticks) and optionally show a typing indicator while a reply is being prepared.
- Get WhatsApp media metadata — Resolve an inbound media id to its download URL, MIME type, and size. The URL is short-lived and must be fetched with the same bearer token.
- List WhatsApp message templates — List the WhatsApp Business Account’s message templates with status, language, category, and components so template sends can be built correctly.
- Get the WhatsApp sending number — Read the sending number’s display number, verified name, quality rating, messaging limit tier, and status. Pause outbound traffic when the status is not CONNECTED.