curl --request POST \
--url http://0.0.0.0:3000/v1/config_flow/{flowId}/advance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"region": "eu",
"access_id": "xxx",
"access_secret": "yyy"
}
'{
"type": "create_entry",
"flowId": "flow_abc123",
"handler": "tuya",
"stepId": "done"
}Submit user input for the current step of a config flow.
curl --request POST \
--url http://0.0.0.0:3000/v1/config_flow/{flowId}/advance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"region": "eu",
"access_id": "xxx",
"access_secret": "yyy"
}
'{
"type": "create_entry",
"flowId": "flow_abc123",
"handler": "tuya",
"stepId": "done"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID do flow retornado pelo /start
Código de autorização OAuth2 (quando aplicável)