--- title: "POST | Automation" slug: "api-dsm-automations" updated: 2026-03-04T12:05:20Z published: 2026-03-04T14:50:13Z canonical: "docs.senhasegura.io/api-dsm-automations" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.senhasegura.io/llms.txt > Use this file to discover all available pages before exploring further. # POST | Automation ## Cria uma automação Cria uma nova automação com base nos parâmetros fornecidos no corpo da solicitação. ### Endpoint ``` POST /iso/sctm/automation ``` ### Corpo da solicitação ``` { "name": "Automation_by_API2", "tags": "API, Testing", "enabled": true, "description": "Descrição de teste", "triggers": ["When a secret is updated", "When a secret is inactivated"], "applications": ["postman", "postman2"], "secrets": ["teste-jean-secret"], "plugin": "HTTP", "template": "SecretsDSM", "devices": [ { "hostname": "accounts.google.com", "credential": "jean-api" } ] } ``` ### Resposta de criação bem sucedida ``` "code": 201, "response": { "status": 201, "message": "Automation created successfully", "error": false, "error_code": 0 }, "automation": { "id": "21", "name": "Automation_by_API3", "tags": "API, Testing", "plugin": "HTTP", "template": "SecretsDSM", "applications": ["postman", "postman2"], "secrets": ["teste-jean-secret"], "devices": ["accounts.google.com"] } } ```