Pular para o conteúdo principal
POST

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

Corpo

application/json

Send the definition at the top level, or inside flow.definition.

definition
object

Flow graph edited in the Flow Builder canvas. nodes holds the blocks (exactly one trigger node is required to publish), edges connects the output handle of one block to another block, and metadata carries the schema version. A flow may hold up to 100 nodes. Each block type reads its own keys from data.

Exemplo:
flow
object

Resposta

The definition is valid.

valid
boolean
obrigatório

Whether the definition can be published.

Exemplo:

false

errors
string[]
obrigatório

Problems that block publishing.

Exemplo:
warnings
string[]
obrigatório

Problems that do not block publishing.

warning_codes
(string | null)[]
obrigatório

One entry per warning; the code the editor uses for it, or null.

suggestions
any[]
obrigatório

Notes about blocks that are not problems.