Ver .md

channels.evolution_privacy_get

Privacidade do WhatsApp de um número por QR. Lê do WhatsApp quem vê: confirmação de leitura (readreceipts: all/none), foto (profile), recado (status), online (online: all/match_last_seen), visto por último (last) e quem adiciona em grupos (groupadd). Valores: all, contacts, contact_blacklist, none, match_last_seen.

  • Endpoint: POST https://app.atomiks.com.br/api/v1/channels.evolution_privacy_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_privacy_get
  • Ficha em JSON: https://app.atomiks.com.br/api/v1/openapi.json (operationId channels.evolution_privacy_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_privacy_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_privacy_get --json '{"channelId":"00000000-0000-0000-0000-000000000000"}'

MCP: ferramenta channels_evolution_privacy_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": {
    "readreceipts": {
      "type": [
        "string",
        "null"
      ]
    },
    "profile": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "online": {
      "type": [
        "string",
        "null"
      ]
    },
    "last": {
      "type": [
        "string",
        "null"
      ]
    },
    "groupadd": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "readreceipts",
    "profile",
    "status",
    "online",
    "last",
    "groupadd"
  ],
  "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).