Configure Whataspp instead of SMS

Mohcine Madkour4 years ago

Hello Anton, All,
I used the following config through TWILIO and it was succsseful in sending SMS, but would like to send whatsapp message instead, What should I change ? Thanks!

    <entry key='sms.enable'>true</entry>
    <entry key='notificator.traccar.key'>eyJkYXRhIjoxMjY5OH0uS1M5c29EaFpocHllQ2tnRExzbHRzNnVZcUthRHNGK1d6N29rMndjbytyMA</entry>
    <entry key='notificator.types'>web,mail,sms</entry>
    <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
    <entry key='sms.http.url'>https://api.twilio.com/2010-04-01/Accounts/[SID]/Messages.json</entry>
    <entry key='sms.http.user'>[SID]</entry>
    <entry key='sms.http.password'>[AUTH]</entry>
    <entry key='sms.http.template'>From=%2B[whatsapp_owner_number] &amp;To={phone} &amp;Body={message}</entry>