---
updatedAt: 2026-10-21T20:11:09.000Z
agentTools:
  projectIndex: https://developers.activecampaign.com/llms.txt
---

# Retrieve an automation's blocks

Returns the trigger, actions, waits, conditions, and goals that make up one automation: each block's id, seriesid, parentid, ordernum, type, and params. This is the read for what is inside a single automation. It is not an account-wide list and not contact run history.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://{youraccountname}.api-us1.com/api/3",
      "variables": {
        "youraccountname": {
          "default": "youraccountname"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/automations/{id}/blocks": {
      "get": {
        "summary": "Retrieve an automation's blocks",
        "description": "Returns the trigger, actions, waits, conditions, and goals that make up one automation: each block's id, seriesid, parentid, ordernum, type, and params. This is the read for what is inside a single automation. It is not an account-wide list and not contact run history.",
        "operationId": "retrieve-automation-blocks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID of the automation whose blocks to retrieve",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "automationBlocks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "seriesid": {
                            "type": "string"
                          },
                          "parentid": {
                            "type": "string"
                          },
                          "ordernum": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          },
                          "params": {
                            "type": "object"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```