Message types
Setmessage_type in the request body, then include the payload for that type. In most cases the payload field uses the same name as message_type (for example "message_type": "text" with a "text" string).
Text
Media — each type uses an object with
mime_type and a public url
Location
Interactive (WhatsApp only)
Supported
channel values: whatsapp, facebook, sms, instagram.
Sample requests
- Text
- Image
- Document
- Video
- Location
