---
title: "Get all Form blocks for a specific Form or Landing Page."
method: GET
path: "/Form/getBlocksByFormName"
tags: ["Forms"]
---

# Get all Form blocks for a specific Form or Landing Page.

`GET /Form/getBlocksByFormName`

## Query parameters

- `name` string

## Response `200`

Successful object query

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

---

[API](https://skmtc.net/ontraport/apis/ontraport-api.md) · [All operations](https://skmtc.net/ontraport/apis/ontraport-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ontraport/ontraport-api/revisions/edcd035d71f5/schema)
