You need to contact API provider and ask about this issue.
Anton I have to eliminate these signs [] or place the token inside there
<entry key = 'notificator.sms.manager.class'> org.traccar.sms.HttpSmsClient </ entry>
<entry key = 'sms.http.url'> https://smsgateway.me/api/v4/message/send </ entry>
<entry key = 'sms.http.authorization'> [YOUR AUTH TOKEN] </ entry>
<entry key = 'sms.http.template'>
[{
"phone_number": "{phone}",
"message": "{message}",
"device_id": 1
}]
</ entry>
But it does not connect
regards
Yes, you have to remove square brackets.
Anton
I think maybe we have to modify this parameter "device_id": 1, for the the device that show on my account?
Regards
I guess so. I don't use this service myself, so I don't know.
I'm facing the same issue and to be honest this is to my opinion one of the coolest way to use SMS notification on traccar since you could add any number from any country in the whole world.
Hello Gerardo Morales, did you solve the problem? Could you help me how you solved it if it were like that? Thanks
Hi, I'm setting up the server with the SMS Gateway Me API, and I get this exception
Regards