---
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/v2026-07-15/reference/get_form"
revision: "2026-07-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_form"
operationId: "get_form"
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
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_form.json"
jsonApi: {"fields":{"form":["ab_test","created_at","definition","definition.versions","id","name","status","updated_at"]}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/forms/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/get_forms.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_form.md","https://developers.klaviyo.com/en/v2026-07-15/reference/delete_form.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_form_version.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_versions_for_form.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_version_ids_for_form.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_form_for_form_version.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_form_id_for_form_version.md"]
---

# Get Form

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

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

Get the form with the given ID.

- Revision header: `revision: 2026-07-15` (required)
- Scopes: `forms:read`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_form.json)

## 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: 2026-07-15'
```

## 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/v2026-07-15/reference.md) Allowed values: `ab_test`, `created_at`, `definition`, `definition.versions`, `id`, `name`, `status`, `updated_at`

## Headers

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

## 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 are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_form.json).
    - `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)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "form",
    "id": "Y6nRLr",
    "attributes": {
      "status": "draft",
      "ab_test": true,
      "name": "Cyber Monday Deals",
      "definition": {
        "versions": [
          {
            "id": 0,
            "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",
                              "inner_padding": {
                                "left": 0,
                                "right": 0,
                                "top": 0,
                                "bottom": 0
                              },
                              "height": 50,
                              "alignment": "center",
                              "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,
                                "font_style": "string",
                                "text_decoration": "string"
                              },
                              "color": "string",
                              "drop_shadow": {
                                "enabled": false,
                                "color": "#000000",
                                "blur": 15,
                                "x_offset": 0,
                                "y_offset": 0
                              }
                            },
                            "properties": {
                              "display_device": [
                                "both"
                              ],
                              "classname": "string",
                              "block_animation": {
                                "type": "none",
                                "duration": 600,
                                "delay": 0,
                                "easing": "ease-out",
                                "repeat": false
                              },
                              "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": {
                          "src": "string",
                          "alt_text": "string",
                          "original_image_url": "string",
                          "id": 0,
                          "asset_id": 0
                        }
                      },
                      "background_color": "string"
                    }
                  }
                ],
                "name": "string",
                "steps": []
              }
            ],
            "triggers": [
              {
                "id": "string",
                "type": "after_close_or_submit_timeout",
                "properties": {
                  "timeout_days": 5
                }
              }
            ],
            "teasers": [
              {
                "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": {
                      "src": "string",
                      "alt_text": "string",
                      "original_image_url": "string",
                      "id": 0,
                      "asset_id": 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
                    },
                    "position": "left"
                  },
                  "margin": {
                    "left": 0,
                    "right": 0,
                    "top": 0,
                    "bottom": 0
                  }
                },
                "close_button": true,
                "device_type": "both"
              }
            ],
            "dynamic_button": {
              "id": "string",
              "type": "BACK_IN_STOCK_OPEN",
              "data": {
                "label": "",
                "display": "REPLACE",
                "text_styles": {
                  "font_family": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
                  "font_size": 16,
                  "font_weight": 400,
                  "font_color": "#FFFFFF",
                  "font_style": "string",
                  "text_decoration": "string",
                  "letter_spacing": 0
                },
                "button_styles": {
                  "color": "#000000",
                  "border_radius": 0,
                  "height": 44,
                  "width": "fullWidth",
                  "alignment": "center",
                  "border": {
                    "enabled": false,
                    "color": "#000000",
                    "style": "solid",
                    "width": 1
                  },
                  "drop_shadow": {
                    "enabled": false,
                    "color": "#000000",
                    "blur": 15,
                    "x_offset": 0,
                    "y_offset": 0
                  }
                }
              }
            },
            "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
                },
                "position": "left"
              },
              "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": {
                  "src": "string",
                  "alt_text": "string",
                  "original_image_url": "string",
                  "id": 0,
                  "asset_id": 0
                }
              },
              "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,
                  "font_style": "string",
                  "text_decoration": "string"
                },
                "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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",
                  "font_style": "string",
                  "text_decoration": "string",
                  "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
              },
              "custom_css": {
                "enabled": false,
                "css": ""
              }
            },
            "properties": {
              "side_image_settings": {
                "size": "medium",
                "alignment": "left",
                "device_type": [
                  "both"
                ]
              },
              "click_outside_to_close": [
                "both"
              ],
              "rule_based_trigger_evaluation": "any",
              "record_utm_params_on_submit": false,
              "show_close_button": true,
              "accessible_name": "string"
            },
            "type": "popup",
            "location": "bottom_center",
            "status": "draft",
            "ab_test": false,
            "specialties": [
              "BACK_IN_STOCK"
            ],
            "channel": "WEB",
            "message_priority": 50
          }
        ]
      },
      "created_at": "2024-03-04T00:00:00Z",
      "updated_at": "2024-03-04T00:00:00Z"
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 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"
      }
    }
  ]
}
```
