Skip to Content
Developers

Text

Send a plain text message.

POST/v1/numbers/{phone_number}/messages/sendReference →
curl -X POST "$WAPIU_API/v1/numbers/$WAPIU_NUMBER/messages/send" \  -H "Authorization: Bearer $WAPIU_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "recipient": "+393331112222",    "message": {      "message_type": "text",      "text": "Your order A1234 has shipped"    }  }'
FieldTypeRequiredDescription
textstringYesThe message, up to 4096 characters. Use *bold*, _italic_ and ~strike~ for WhatsApp formatting.
Delivered only within the 24-hour window. Outside it, send a template.

The response and errors are the same for every type: see Send a message.