--- title: 'Tuya' description: '' --- # Tuya undefined | Detail | Value | |---|---| | Category | IoT | | Base URL | `https://openapi.tuyaus.com/v2.0` | | Authentication | HMAC-SHA256 | | Endpoints | 6 | | Connector key | `tuya` | ## Using Tuya in a workflow 1. Go to **Connections** and click **New Connection**. 2. Pick **Tuya** from the marketplace. 3. Enter your credentials (see Authentication above for what's expected). 4. In a workflow, drop an **API Call** node and select this connection. 5. Pick the operation you need from the Operation dropdown — see the table below. ## Available Endpoints | Endpoint | Summary | |---|---| | [GET ](./get_devices_0) | Devices | | [GET ](./get_device_status_1) | Device Status | | [GET ](./get_commands_2) | Commands | | [GET ](./get_functions_3) | Functions | | [GET ](./get_homes_4) | Homes | | [GET ](./get_scenes_5) | Scenes | > Each endpoint has its own page with parameter details, an example > `API Call` node configuration, and the response shape.