curl --request POST \
--url http://0.0.0.0:3000/v1/config_flow/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"handler": "tuya"
}
'{
"type": "form",
"flowId": "flow_abc123",
"handler": "tuya",
"stepId": "user",
"data_schema": [
{
"name": "region",
"type": "string"
}
]
}Initiates an integration setup flow for the given handler (integration type).
curl --request POST \
--url http://0.0.0.0:3000/v1/config_flow/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"handler": "tuya"
}
'{
"type": "form",
"flowId": "flow_abc123",
"handler": "tuya",
"stepId": "user",
"data_schema": [
{
"name": "region",
"type": "string"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Nome da integração (ex: tuya, mqtt, knx)
"tuya"