PUT /v1/pipeline-ai/settings
PUT
/v1/pipeline-ai/settings
const url = 'https://seu-endereco-da-api/v1/pipeline-ai/settings';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"nextStepEnabled":true,"fillOnMoveEnabled":true,"heatReasonsEnabled":true,"monthlyCapCents":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://seu-endereco-da-api/v1/pipeline-ai/settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "nextStepEnabled": true, "fillOnMoveEnabled": true, "heatReasonsEnabled": true, "monthlyCapCents": 1 }'Permissão que a Chave de acesso precisa: Gerenciar pipelines (pipelines:manage).
Authorizations
Seção intitulada “Authorizations”Request Bodyrequired
Seção intitulada “Request Bodyrequired”Media typeapplication/json
object
nextStepEnabled
boolean
fillOnMoveEnabled
boolean
heatReasonsEnabled
boolean
monthlyCapCents
number
Example generated
{ "nextStepEnabled": true, "fillOnMoveEnabled": true, "heatReasonsEnabled": true, "monthlyCapCents": 1}Responses
Seção intitulada “Responses”Media typeapplication/json
object
nextStepEnabled
required
boolean
fillOnMoveEnabled
required
boolean
heatReasonsEnabled
required
boolean
monthlyCapCents
required
number
spentThisMonthCents
required
number
Example generated
{ "nextStepEnabled": true, "fillOnMoveEnabled": true, "heatReasonsEnabled": true, "monthlyCapCents": 1, "spentThisMonthCents": 1}Pipeline_ai_cap_required: ligar uma chave exige monthlyCapCents maior que zero