---
title: "Get Form"
description: "How to call Get Form (GET /api/forms/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-07-15/reference/get_form_beta"
revision: "2025-07-15.pre"
latestUrl: "https://developers.klaviyo.com/en/reference/get_form_beta"
operationId: "get_form_beta"
method: "GET"
endpoint: "https://a.klaviyo.com/api/forms/{id}"
authentication: "privateKey"
scopes: ["forms:read"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
jsonApi: {"fields":{"form":["status","ab_test","name","definition","definition.versions","created_at","updated_at"]}}
related: ["https://developers.klaviyo.com/en/v2025-07-15/reference/forms-beta/llms.txt","https://developers.klaviyo.com/en/v2025-07-15/reference/create_form_beta.md"]
---

# Get Form

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-07-15/reference/get_form_beta

```http
GET https://a.klaviyo.com/api/forms/{id}
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2025-07-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Get the form with the given ID.

- Revision header: `revision: 2025-07-15.pre` (required)
- Scopes: `forms:read`
- Rate limits: Burst: `3/s`, Steady: `60/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/forms/Y6nRLr' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-07-15.pre'
```

## Path parameters

- `id` (string, required): The ID of the form Example: `Y6nRLr`

## Query parameters

- `fields[form]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-07-15/reference.md) Allowed values: `status`, `ab_test`, `name`, `definition`, `definition.versions`, `created_at`, `updated_at`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-07-15.pre`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `form`
  - `id` (string, required): The ID of the form Example: `Y6nRLr`
  - `attributes` (object, required)
    - `status` (string, required): The status of the form. Allowed values: `draft`, `live` Example: `draft`
    - `ab_test` (boolean, required): Whether the form has an A/B test configured.
    - `name` (string, required): The name of the form. Example: `Cyber Monday Deals`
    - `definition` (object, required)
      - `versions` (object[], required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `created_at` (string<date-time>, required): The ISO8601 timestamp when the form was created. Example: `2024-03-04T00:00:00Z`
    - `updated_at` (string<date-time>, required): The ISO8601 timestamp when the form was last updated. Example: `2024-03-04T00:00:00Z`
  - `links` (object, required)
    - `self` (string<uri>, required)

#### Example response body

```json
{
  "data": {
    "type": "form",
    "id": "Y6nRLr",
    "attributes": {
      "status": "draft",
      "ab_test": true,
      "name": "Cyber Monday Deals",
      "definition": {
        "versions": [
          {
            "id": "string",
            "steps": [
              {
                "id": "string",
                "columns": [
                  {
                    "id": "string",
                    "rows": [
                      {
                        "id": "string",
                        "blocks": [
                          {
                            "id": "string",
                            "type": "button",
                            "styles": {
                              "padding": {
                                "left": 0,
                                "right": 0,
                                "top": 0,
                                "bottom": 0
                              },
                              "background_color": "string",
                              "width": "fill",
                              "height": 50,
                              "hover_background_color": "string",
                              "hover_text_color": "string",
                              "border_styles": {
                                "radius": 8,
                                "color": "string",
                                "style": "dashed",
                                "thickness": 0
                              },
                              "text_styles": {
                                "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                                "font_size": 16,
                                "font_weight": 400,
                                "text_color": "#000000",
                                "character_spacing": 0
                              },
                              "color": "string"
                            },
                            "properties": {
                              "display_device": [
                                "desktop"
                              ],
                              "label": "string",
                              "additional_fields": [
                                {
                                  "name": "string",
                                  "value": "string"
                                }
                              ]
                            },
                            "action": {
                              "id": "string",
                              "submit": true,
                              "type": "close",
                              "properties": {
                                "list_id": "string"
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "styles": {
                      "background_image": {
                        "styles": {
                          "horizontal_alignment": "center",
                          "width": 0,
                          "position": "contain",
                          "vertical_alignment": "center",
                          "custom_width": 0
                        },
                        "properties": {
                          "id": 0,
                          "src": "string",
                          "alt_text": "string"
                        }
                      },
                      "background_color": "string"
                    }
                  }
                ],
                "name": "string",
                "steps": []
              }
            ],
            "triggers": [
              {
                "id": "string",
                "type": "after_close_or_submit_timeout",
                "properties": {
                  "timeout_days": 5
                }
              }
            ],
            "teaser": {
              "id": "string",
              "content": "string",
              "display_order": "after",
              "teaser_type": "rectangle",
              "location": "bottom_left",
              "size": "small",
              "custom_size": 0,
              "styles": {
                "background_color": "#FFFFFF",
                "drop_shadow": {
                  "enabled": false,
                  "blur": 30,
                  "color": "rgba(0,0,0,0.15)"
                },
                "corner_radius": 4,
                "background_image": {
                  "styles": {
                    "horizontal_alignment": "center",
                    "width": 0,
                    "position": "contain",
                    "vertical_alignment": "center",
                    "custom_width": 0
                  },
                  "properties": {
                    "id": 0,
                    "src": "string",
                    "alt_text": "string"
                  }
                },
                "close_button": {
                  "background_color": "rgba(180, 187, 195, 0.65)",
                  "outline_color": "#FFFFFF",
                  "color": "#FFFFFF",
                  "stroke": 2,
                  "size": 20,
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "margin": {
                  "left": 0,
                  "right": 0,
                  "top": 0,
                  "bottom": 0
                }
              },
              "close_button": true
            },
            "name": "string",
            "styles": {
              "wrap_content": false,
              "border_styles": {
                "radius": 8,
                "color": "string",
                "style": "dashed",
                "thickness": 0
              },
              "close_button": {
                "background_color": "rgba(180, 187, 195, 0.65)",
                "outline_color": "#FFFFFF",
                "color": "#FFFFFF",
                "stroke": 2,
                "size": 20,
                "margin": {
                  "left": 0,
                  "right": 0,
                  "top": 0,
                  "bottom": 0
                }
              },
              "margin": {
                "left": 0,
                "right": 0,
                "top": 0,
                "bottom": 0
              },
              "padding": {
                "left": 0,
                "right": 0,
                "top": 0,
                "bottom": 0
              },
              "minimum_height": 250,
              "width": "medium",
              "custom_width": 0,
              "background_image": {
                "styles": {
                  "horizontal_alignment": "center",
                  "width": 0,
                  "position": "contain",
                  "vertical_alignment": "center",
                  "custom_width": 0
                },
                "properties": {
                  "id": 0,
                  "src": "string",
                  "alt_text": "string"
                }
              },
              "background_color": "#FFFFFF",
              "input_styles": {
                "text_styles": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "character_spacing": 0
                },
                "label_color": "#303B43",
                "text_color": "#000000",
                "placeholder_color": "#949596",
                "background_color": "#FFFFFF",
                "border_color": "#949596",
                "border_focus_color": "#000000",
                "focus_outline_color": "#1C65AD",
                "corner_radius": 2,
                "field_height": 38
              },
              "drop_shadow": {
                "enabled": false,
                "blur": 30,
                "color": "rgba(0,0,0,0.15)"
              },
              "overlay_color": "rgba(20,20,20,0.6)",
              "rich_text_styles": {
                "body": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "link": {
                  "color": "#0066cc",
                  "decoration": "underline"
                },
                "h1": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "h2": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "h3": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "h4": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "h5": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "h6": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "text_color": "#000000",
                  "line_spacing": 1,
                  "character_spacing": 0,
                  "alignment": "left",
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                }
              },
              "mobile_overlay": {
                "color": "rgba(20, 20, 20, 0.5)",
                "enabled": false
              },
              "banner_styles": {
                "desktop_position": "top",
                "mobile_position": "top",
                "scroll_with_page": true
              }
            },
            "properties": {
              "side_image_settings": {
                "size": "medium",
                "alignment": "left",
                "device_type": [
                  "desktop"
                ]
              },
              "click_outside_to_close": [
                "desktop"
              ],
              "rule_based_trigger_evaluation": "any",
              "record_utm_params_on_submit": false,
              "show_close_button": true
            },
            "type": "popup",
            "location": "bottom_center",
            "status": "draft",
            "ab_test": false
          }
        ]
      },
      "created_at": "2024-03-04T00:00:00Z",
      "updated_at": "2024-03-04T00:00:00Z"
    },
    "links": {
      "self": "https://www.example.com"
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
