Send message
documentedSend a WhatsApp message (text, media, template, or interactive) to a user.
POST /v{version}/{phone-number-id}/messagesMessagesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://graph.facebook.com/v{{$version}}/{{$phone_number_id}}/messages" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"messaging_product": "whatsapp", "recipient_type": "individual", "to": "{{$recipient_phone_number}}", "type": "text", "text": {"body": "{{$message_body}}"}}'