Skip to main content
POST
Criar fluxo

Authorizations

x-jurichat-api-key
string
header
required

Chave de API do escritório (criada no painel). Envie o valor no header x-jurichat-api-key.

Body

application/json
name
string
required

Nome do fluxo.

Minimum string length: 1
description
string
required

Descrição do fluxo.

content
object
required

Diagrama JSON do fluxo (nós e conexões).

color
string | null
required

Cor do fluxo. Null se não definida.

inboxId
string
required

ID da inbox vinculada ao fluxo.

Pattern: ^[cC][^\s-]{8,}$
isInstagramFlow
boolean
default:false

Indica se o fluxo é exclusivo do Instagram.

Response

Default Response

id
string
required
name
string
required
content
object
required
color
string | null
required
isInstagramFlow
boolean
required
inboxId
string
required
Pattern: ^[cC][^\s-]{8,}$
description
string