Send template message
documentedSend a WhatsApp template message via One API.
POST https://platform.clickatell.com/v1/messagesWhatsApp Templatesno 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://platform.clickatell.com/v1/messages" \
-X POST \
-H "Authorization: Bearer {{CLICKATELL_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"messages":[{"channel":"whatsapp","to":"{{$to}}","clientMessageId":"{{$clientMessageId}}","template":{"templateName":"{{$templateName}}","header":{"type":"text","text":{"parameters":{"1":"{{$headerParam1}}"}}},"body":{"parameters":{"1":"{{$param1}}","2":"{{$param2}}"}}}}]}'