SMS with Clicksend

Kris 4 years ago

Hi all. has Anyone here setup SMS via clicksend?

im after a bit of help setting this up. i have a couple of things I want to automate and not sure what I'm doing.

I THINK I have the traccar.xml info done right but a second set of eyes would be ideal.
I am also looking for the automation to be passed through so when a user selects SMS notifications thier number is pushed through to clicksend. (if that's the correct terminology)

'code'

    <!--PUSH NOTIFICATIONS -->
    <entry key='notificator.types'>web,mail,traccar,sms</entry>
    <entry key='notificator.traccar.key'>MYKEY</entry>
    <!--SMS CONFIG -->
    <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
    <entry key='sms.http.url'>https://api-mapper.clicksend.com/http/v2/send.php?</entry>
    <entry key='sms.http.template'>
    username=tMYUSER&;key=MYAPIKEY&;From=x&;to={phone}&;message={message}
    </entry>
Anton Tananaev 4 years ago

Do you have a link to the API documentation?

Kris 4 years ago
Anton Tananaev 4 years ago

OK, but your request doesn't seem to match. What's the reason for that? It also doesn't seem like you formatted POST parameters correctly.

Kris 4 years ago

sorry Anton
I know nothing about these things I have been trying to cobble it together from Examples of other forum entries.
My API experiance is a 0.5 in a scale of 1-10. i was hoping to get someone who has implemented clicksend already to assist me

Anton Tananaev 4 years ago

OK, hopefully there's someone who has an example of working config. But so far your configuration looks incorrect.