RTU 241 error when calling API

Hi, I’m trying to make API calls, getting the Bearer authentication works but all other calls fail.
I tried with and without the /v1/ and /v1.1/ with the same result.

curl -X GET “http://10.10.10.254/api/v1/system/device/info
-H “Content-Type: application/json”
-H “Authorization: Bearer 8ddf8ab82d585fbd638c45731164b07f”
{“success”:false,“errors”:[{“source”:“Request”,“error”:“Endpoint for ‘info’ not implemented.”,“code”:100}]}

Any help would be greatly appreciated.

Hello,

The endpoint seems to be incorrect.

Please, refer to the RutOS API documentation here.

For example, to get system/device information, use the following call:

curl -X GET -H "Authorization: Bearer xxxxxxxxxxxx" '192.168.65.1/api/system/device/status'

Kind Regards,

I have been following this tutorial provided by Teltonika, maybe this should be corrected.

https://developers.teltonika-networks.com/tutorials/

I tried what you suggested and it worked. THANK YOU VERY MUCH FOR YOUR HELP!

Kind Regards