PATCH /v1/flow-http-connections/{id}
PATCH
/v1/flow-http-connections/{id}
const url = 'https://seu-endereco-da-api/v1/flow-http-connections/example';const options = { method: 'PATCH', 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","active":true,"showInChat":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://seu-endereco-da-api/v1/flow-http-connections/example \ --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", "active": true, "showInChat": true }'Permissão que a Chave de acesso precisa: Gerenciar fluxos (flows:manage).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Request Bodyrequired
Seção intitulada “Request Bodyrequired”Media typeapplication/json
object
name
string
method
string
url
string format: uri
headers
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
active
boolean
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"}