Skip to main content
POST
/
v1
/
config_flow
/
{flowId}
/
advance
Advance a step in the 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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

flowId
string
required

ID do flow retornado pelo /start

Body

application/json
user_code
string

Código de autorização OAuth2 (quando aplicável)

Response

Step advanced

type
string

Tipo do passo atual (ex: form, external, abort, create_entry)

flowId
string
handler
string
stepId
string
errors
object
data_schema
any[] | null
url
string | null

URL OAuth2 para redirecionamento externo