pipelines.settings_get
Ver as configurações de um pipeline. Nome, grupo, se é o padrão e se está arquivado, mais o que a tela "Configurações do Pipeline" guarda: descrição, distribuição automática (autoAssign, autoAssignStrategy manual ou rodízio), SLA de inatividade e de primeiro contato, propriedade e agendamento, motivos de perda (lostReasons, restrictLossReasons), prioridade e moeda padrão, exibição do card (cardDisplay) e o pixel do pipeline. Sem a migration de configurações, devolve os padrões.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/pipelines.settings_get(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave:
crm:read - Grava dados: não
- Pela chave de API: sim
- Ferramenta MCP:
pipelines_settings_get - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdpipelines.settings_get)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
pipelineId | string (uuid) | sim |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"pipelineId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"pipelineId"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/pipelines.settings_get \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pipelineId":"00000000-0000-0000-0000-000000000000"}'CLI:
node cli/atomiks.mjs pipelines.settings_get --json '{"pipelineId":"00000000-0000-0000-0000-000000000000"}'MCP: ferramenta pipelines_settings_get com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"pipelineId": {
"type": "string"
},
"name": {
"type": "string"
},
"groupName": {
"type": [
"string",
"null"
]
},
"isDefault": {
"type": "boolean"
},
"archivedAt": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"autoAssign": {
"type": "boolean"
},
"autoAssignStrategy": {
"type": "string",
"enum": [
"manual",
"round_robin"
]
},
"teamId": {
"type": [
"string",
"null"
]
},
"teamDistributionMode": {
"anyOf": [
{
"type": "string",
"enum": [
"weighted",
"strict"
]
},
{
"type": "null"
}
]
},
"slaEnabled": {
"type": "boolean"
},
"slaInactivityDays": {
"type": "number"
},
"slaTargetStageId": {
"type": [
"string",
"null"
]
},
"slaFirstContactEnabled": {
"type": "boolean"
},
"slaFirstContactMinutes": {
"type": "number"
},
"assignResponsibleOnScheduling": {
"type": "boolean"
},
"restrictSchedulingToPeers": {
"type": "boolean"
},
"lostReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"restrictLossReasons": {
"type": "boolean"
},
"defaultPriority": {
"type": "string",
"enum": [
"urgent",
"high",
"medium",
"low",
"none"
]
},
"defaultCurrency": {
"type": "string",
"enum": [
"BRL",
"USD",
"EUR"
]
},
"cardDisplay": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
}
},
"pixelEnabled": {
"type": "boolean"
},
"pixelEvent": {
"type": [
"string",
"null"
]
},
"cardOrder": {
"type": "string",
"enum": [
"manual",
"createdAtDesc",
"createdAtAsc",
"stageTimeAsc",
"stageTimeDesc"
]
}
},
"required": [
"pipelineId",
"name",
"groupName",
"isDefault",
"archivedAt",
"description",
"autoAssign",
"autoAssignStrategy",
"teamId",
"teamDistributionMode",
"slaEnabled",
"slaInactivityDays",
"slaTargetStageId",
"slaFirstContactEnabled",
"slaFirstContactMinutes",
"assignResponsibleOnScheduling",
"restrictSchedulingToPeers",
"lostReasons",
"restrictLossReasons",
"defaultPriority",
"defaultCurrency",
"cardDisplay",
"pixelEnabled",
"pixelEvent",
"cardOrder"
],
"additionalProperties": false
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).