Communicate with WhatsApp through messaging, media sharing, and contact management using the WhatsApp Cloud API
action
- The action to perform (send_text, send_media, send_template, get_status, manage_contacts)to
- Recipient phone number (for messaging actions)message_content
- Content of the message to sendmedia_url
- URL for media filescaption
- Caption for media messagestemplate_name
- Name of the template to uselanguage_code
- Language code for templatesto
(required) - Recipient phone numbermessage
(required) - Text message contentto
(required) - Recipient phone numbermedia_type
(required) - Type of media (image, document, video, audio)media_url
(required) - URL link to the media filecaption
(optional) - Caption for the mediato
(required) - Recipient phone numbertemplate_name
(required) - Name of the approved templatelanguage_code
(required) - Language code (e.g., “en_US”)parameters
(optional) - Template parameters if neededmessage_id
(required) - ID of the message to checkphone_number
(required) - Contact phone numberwhatsapp_id
(optional) - WhatsApp ID if known