Important changes in IoT Cloud API

mircea_c
Posts: 140 Staff member 🤠
TeamViewer IoT Cloud API V2.0.0 is now available. See the IoT Cloud API Documentation for TeamViewer IoT under https://docs.teamviewer-iot.com/cloud-api/.
Important Note: The IoT Cloud API older versions are already deprecated and won't be available by the end of February 2021. Therefore we recommend adapting your applications based on the latest version.
Important changes in IoT Cloud API V2.0.0
- In the previous IoT Cloud API version, the 'API Token' was located in the URL (example: https://api.teamviewer-iot.com/{apiToken}/{version}/{action}).
- In the IoT Cloud API version 2.0.0, the 'API token' has been removed from the URL (example: https://api.teamviewer-iot.com/{action}) and only contain the 'action'.
- The 'API token' is being transferred in request 'header' and as a result, it becomes encrypted for HTTPS connections.
Some examples:
Previous version request:
https://api.teamviewer-iot.com/{apiToken}/{version}/{action}
New version request
https://api.teamviewer-iot.com/{action}
Header
- Authorization: Barer {apiToken}
- Accept: application/json; Version=v2.0.0
Tech Support IoT
Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.
0