automations.get
Ver automação do Instagram. Uma automação pelo id.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/automations.get(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave:
automations:read - Grava dados: não
- Pela chave de API: sim
- Ferramenta MCP:
automations_get - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdautomations.get)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
id | string (uuid) | sim |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"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": [
"id"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/automations.get \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"00000000-0000-0000-0000-000000000000"}'CLI:
node cli/atomiks.mjs automations.get --json '{"id":"00000000-0000-0000-0000-000000000000"}'MCP: ferramenta automations_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": {
"id": {
"type": "string"
},
"channelId": {
"type": "string"
},
"name": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"trigger": {
"type": "string",
"enum": [
"comment",
"live_comment",
"story_reply",
"dm_keyword"
]
},
"mediaIds": {
"type": "array",
"items": {
"type": "string"
}
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"matchMode": {
"type": "string",
"enum": [
"contains",
"exact"
]
},
"publicReplies": {
"type": "array",
"items": {
"type": "string"
}
},
"dmText": {
"type": [
"string",
"null"
]
},
"oncePerUser": {
"type": "boolean"
},
"reactHeart": {
"type": "boolean"
},
"delaySeconds": {
"type": "number"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"channelId",
"name",
"enabled",
"trigger",
"mediaIds",
"keywords",
"matchMode",
"publicReplies",
"dmText",
"oncePerUser",
"reactHeart",
"delaySeconds",
"createdAt",
"updatedAt"
],
"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).