Tuya Smart Help Center

Introduction & Cooperation of TuyaTuya Cloud Development PlatformSolution Introduction

Which interworking modes does Tuya Cloud support?

Last Updated on2020-08-01 02:11:51
Which interworking modes does Tuya Cloud support?
The Tuya Open Platform provides various integrate modes based on Tuya's mature IoT services, combining different docking scenarios:
Simple mode (implicit authorization):
  • Tuya Cloud provides a cloud-based docking method based on the oauth2 protocol. Developers can apply for a cloud API on the tuya iot platform, call tuya openapi according to the tuya openapi interface specification, obtain the developer's own user and device data, and control the device through permissions.
  • For this case, developers need to create OEM applications or create products on the platform. After that, you can get user data or device data based on your development account.
Authorization code mode (explicit authorization):
  • After applying the cloud API key on Tuya cloud platform, developers can call Tuya open interface based on Tuya openapi interface specification to obtain resource data and authorization scope under authorization Resource data.
  • For cloud integration scenarios where there is no OEM application in the tuya platform, tuya cloud provides an authorization code method.