Ver .md

integrations.list

Listar integrações. Integrações da conta, da mais recente para a mais antiga, com contadores das últimas 24 horas. O segredo nunca é devolvido, só os 4 últimos caracteres (secretHint).

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

Entrada

Sem campos: envie {}.

JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {}
}

Exemplo

curl -X POST https://app.atomiks.com.br/api/v1/integrations.list \
  -H "Authorization: Bearer $ATOMIKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

CLI:

node cli/atomiks.mjs integrations.list --json '{}'

MCP: ferramenta integrations_list com a mesma entrada.

Saída

Sucesso: {"data": ...} com o formato abaixo.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "connector": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ]
          },
          "secretHint": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastEventAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string"
          },
          "counts": {
            "type": "object",
            "properties": {
              "events24h": {
                "type": "number"
              },
              "failed24h": {
                "type": "number"
              },
              "total": {
                "type": "number"
              }
            },
            "required": [
              "events24h",
              "failed24h"
            ],
            "additionalProperties": false
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "triggers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "connector",
          "name",
          "status",
          "secretHint",
          "lastEventAt",
          "createdAt",
          "counts"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "items"
  ],
  "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).