{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chatwoot Agents Automation Rules API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "api_access_token",
      "value": "{{api_access_token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Automation Rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List automation rules.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/automation_rules",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric id of the account."
              }
            ]
          },
          "docs": "List automation rules."
        },
        {
          "info": {
            "name": "Create an automation rule.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/automation_rules",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric id of the account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an automation rule."
        },
        {
          "info": {
            "name": "Get an automation rule by id.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/automation_rules/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric id of the account."
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get an automation rule by id."
        },
        {
          "info": {
            "name": "Update an automation rule.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/automation_rules/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric id of the account."
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update an automation rule."
        },
        {
          "info": {
            "name": "Delete an automation rule.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/automation_rules/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric id of the account."
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an automation rule."
        }
      ]
    }
  ],
  "bundled": true
}