Ver .md

channels.evolution_settings_get

Ajustes de ligação e leitura de um número por QR. Lê do número os ajustes que não têm coluna no Atomiks: rejectCall, msgCall, readMessages e readStatus. Grupos e "sempre online" já vêm na conta (channel_connections.get). Escreve-se com channels.evolution_settings_update.

  • Endpoint: POST https://app.atomiks.com.br/api/v1/channels.evolution_settings_get (corpo JSON)
  • Quem pode chamar: membro da conta
  • Escopo da chave: channels:read
  • Grava dados: não
  • Pela chave de API: sim
  • Ferramenta MCP: channels_evolution_settings_get
  • Ficha em JSON: https://app.atomiks.com.br/api/v1/openapi.json (operationId channels.evolution_settings_get)

Entrada

CampoTipoObrigatórioNota
channelIdstring (uuid)sim
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "channelId": {
      "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": [
    "channelId"
  ]
}

Exemplo

curl -X POST https://app.atomiks.com.br/api/v1/channels.evolution_settings_get \
  -H "Authorization: Bearer $ATOMIKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channelId":"00000000-0000-0000-0000-000000000000"}'

CLI:

node cli/atomiks.mjs channels.evolution_settings_get --json '{"channelId":"00000000-0000-0000-0000-000000000000"}'

MCP: ferramenta channels_evolution_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": {
    "rejectCall": {
      "type": "boolean"
    },
    "msgCall": {
      "type": "string"
    },
    "readMessages": {
      "type": "boolean"
    },
    "readStatus": {
      "type": "boolean"
    },
    "callsSupported": {
      "type": "boolean"
    }
  },
  "required": [
    "rejectCall",
    "msgCall",
    "readMessages",
    "readStatus",
    "callsSupported"
  ],
  "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).

channels.evolution_settings_get · Atomiks API