We don't support placeholders in the URL.
anyway around that?
tried this but get error "message": "Resource not found"}
<entry key='sms.http.url'>https://api.simbase.com/v2/sms</entry>
<entry key='sms.http.method'>POST</entry>
<entry key='sms.http.headers'>Content-Type: application/json;Authorization: Bearer MYAPI</entry>
<entry key='sms.http.template'>{
"iccid": "{phone}",
"message": "{message}",
"source_address": "Traccar"
What am I missing trying to send a custom command via sms to a tracker to send config
You cannot just make up random endpoints. Which one is the correct one?
https://api.simbase.com/v2/simcards/{iccid}/sms
Then check my earlier comment.
so no way around it?
Getting error
<entry key='sms.http.url'>https://api.simbase.com/v2/sims/{phone}/sms</entry> <entry key='sms.http.method'>POST</entry> <entry key='sms.http.headers'>Content-Type: application/json;Authorization: Bearer MYAPI</entry> <entry key='sms.http.template'>{ "iccid": "{phone}", "message": "{message}", "source_address": "Traccar" }</entry>I have added the iccid in the phone number field in each device.