Send Rich Content Message (WhatsApp supported)
documentedSubmit a rich content message with channel WhatsApp to a recipient.
POST /richcontent/v3/sendRich Content APIno 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://connect.esendex.com/richcontent/v3/send" \
-X POST \
-H "Authorization: {{ESENDEX_PRIMARY_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"accountReference":"{{$accountReference}}","channels":["WhatsApp"],"recipient":{"variables":{"name":"{{$name}}"},"address":{"msisdn":"{{$recipient_msisdn}}"}},"content":{"body":{"text":{"value":"Hello {{$name}}"}}}}'