Send a text message
Send plain text. Needs an open 24-hour window.
to and sender (or just to if you have one active sender), or pass conversation_id to send into a specific existing thread. Text needs an open 24-hour window — otherwise it returns 422 WINDOW_CLOSED; use a template to open one. Async: returns 202 { message_id, status: "pending" }.Authorizations
Body
Text body, up to 4096 characters.
4096Recipient phone in E.164 digits (optional leading +), e.g. 255712345678. The number you are messaging. Pair with sender.
7 - 20^\+?[1-9]\d{6,17}$Which of your WhatsApp numbers to send from (number or phone_number_id). Pair with to to target the conversation. Optional when your workspace has a single active sender. Preferred over sender_id.
64Alternative to sender. The id of an existing one-to-one thread; recipient and sender are taken from it, so to / sender / sender_id are ignored. Use this to pin a precise conversation when the same recipient can be reached through more than one of your senders.
Deprecated: use sender.