Are you talking about Traccar SMS gateway? Unauthorized means you are probably not using the key or using a wrong one.
Thank you for replying so fast on sunday!
I talk about Traccar SMS gateway. I tried with the api key given by the application (8 chars). After first fail, I tried also with the long token. Both failed...
You need to double-check everything. The error is pretty clear.
Thank you, I made a mistake, all works!
I have a 401 reply from my phone when trying to send a SMS via the app server.
Thank you in advance