POST /v1/flow-http-connections
POST
/v1/flow-http-connections
const url = 'https://seu-endereco-da-api/v1/flow-http-connections';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","method":"GET","url":"https://example.com","headers":[{"key":"example","value":"example"}],"queryParams":[{"key":"example","value":"example"}],"auth":{"kind":"bearer","token":"example","user":"example","password":"example","headerName":"example","value":"example"},"body":"example","originFlowId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","showInChat":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://seu-endereco-da-api/v1/flow-http-connections \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "method": "GET", "url": "https://example.com", "headers": [ { "key": "example", "value": "example" } ], "queryParams": [ { "key": "example", "value": "example" } ], "auth": { "kind": "bearer", "token": "example", "user": "example", "password": "example", "headerName": "example", "value": "example" }, "body": "example", "originFlowId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "showInChat": true }'Permissão que a Chave de acesso precisa: Gerenciar fluxos (flows:manage).
Authorizations
Seção intitulada “Authorizations”Request Bodyrequired
Seção intitulada “Request Bodyrequired”Media typeapplication/json
object
name
required
string
method
required
string
url
required
string format: uri
headers
required
Array<object>
object
key
required
string
value
required
string
queryParams
Array<object>
object
key
required
string
value
required
string
auth
object
kind
required
string
token
string
user
string
password
string
headerName
string
value
string
body
string
originFlowId
string format: uuid
showInChat
boolean
Responses
Seção intitulada “Responses”Media typeapplication/json
object
id
required
string
name
required
string
method
required
string
url
required
string
queryParams
required
Key/value pairs appended to the URL as the query string
Array<object>
object
hasHeaders
required
The stored headers are never returned, only whether they exist
boolean
authKind
required
The stored credential is never returned, only its kind
string
body
required
string
origin
required
Flow where the connection was created; flowName is null when that flow was deleted
object
showInChat
required
A conexão aparece no botão Consultar sistema da conversa
boolean
active
required
Turned off automatically after repeated failures
boolean
disabledAt
required
string format: date-time
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example generated
{ "id": "example", "name": "example", "method": "example", "url": "example", "queryParams": [ {} ], "hasHeaders": true, "authKind": "example", "body": "example", "origin": {}, "showInChat": true, "active": true, "disabledAt": "2026-04-15T12:00:00Z", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z"}