---
title: "A published form as respondents see it (never where its answers go), or that it is closed and why. 404 form_not_found for an unknown, deleted or suspended link. Limited per network."
method: GET
path: "/forms/{code}"
tags: ["Forms"]
---

# A published form as respondents see it (never where its answers go), or that it is closed and why. 404 form_not_found for an unknown, deleted or suspended link. Limited per network.

`GET /forms/{code}`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/forms/{code}`
- Auth: none required

## Path parameters

- `code` string, required

## Response `200`

Success.

- union
  - object
    - `form` PublicForm, required
      - `confirmation` string, required
      - `cover` FormCover
        - `fill` union
          - object
            - `color` string, required
            - `kind` 'solid', required
          - object
            - `angle` number, required
            - `from` string, required
            - `kind` 'gradient', required
            - `motion` 'flow' | 'drift' | 'aurora' | 'ripple' | 'ribbons' | 'mesh' | 'starfield' | 'retro-grid' | 'bokeh' | 'waves' | 'spotlight' | 'beams' | 'sunburst' | 'fireflies' | 'snowfall' | 'lava' | 'dot-wave' | 'clouds' | 'warp' | 'orbits' | 'radar' | 'equaliser' | 'confetti' | 'threads'
            - `speed` number
            - `to` string, required
        - `pattern` 'dots' | 'grid' | 'lines'
      - `description` string
      - `heading` string, required
      - `sections` PublicSection[], required
        - `description` string
        - `id` string, required
        - `questions` PublicQuestion[], required
          - `dropdown` true
          - `help` string
          - `highLabel` string
          - `id` string, required
          - `lowLabel` string
          - `max` number
          - `min` number
          - `options` string[]
          - `other` true
          - `placeholder` string
          - `prompt` string, required
          - `required` true
          - `scale` number
          - `style` 'stars' | 'numbers'
          - `type` 'short' | 'paragraph' | 'number' | 'email' | 'link' | 'date' | 'single' | 'multi' | 'rating' | 'checkbox', required
          - `whole` true
        - `showIf` SectionRule
          - `anyOf` string[], required
          - `questionId` string, required
        - `title` string, required
    - `look` FormLook, required
      - `accent` FormHalves, required: A colour for each half of the page.
        - `dark` string, required
        - `light` string, required
      - `backdrop` FormHalves, required: A colour for each half of the page.
        - `dark` string, required
        - `light` string, required
      - `canvas` FormCanvas: A canvas style as a form draws it: the pattern in each half's colour, at the tab's size, speed and strength.
        - `color` FormHalves, required: A colour for each half of the page.
          - `dark` string, required
          - `light` string, required
        - `opacity` number
        - `pattern` 'grid' | 'blank' | 'lines' | 'crosshatch' | 'graph' | 'confetti' | 'stripes' | 'diagonal' | 'waves' | 'bricks' | 'isometric' | 'hexagonal' | 'engineering' | 'checkerboard' | 'sparkles' | 'eggs' | 'cobwebs' | 'snowflakes' | 'candy-stripes' | 'flow' | 'drift' | 'aurora' | 'ripple' | 'ribbons', required
        - `scale` number
        - `speed` number
      - `finish` 'flexible' | 'professional' | 'sketch' | 'marker', required
      - `font` string
      - `onAccent` FormHalves, required: A colour for each half of the page.
        - `dark` string, required
        - `light` string, required
    - `state` 'open', required
  - object
    - `heading` string, required
    - `look` FormLook, required
      - `accent` FormHalves, required: A colour for each half of the page.
        - `dark` string, required
        - `light` string, required
      - `backdrop` FormHalves, required: A colour for each half of the page.
        - `dark` string, required
        - `light` string, required
      - `canvas` FormCanvas: A canvas style as a form draws it: the pattern in each half's colour, at the tab's size, speed and strength.
        - `color` FormHalves, required: A colour for each half of the page.
          - `dark` string, required
          - `light` string, required
        - `opacity` number
        - `pattern` 'grid' | 'blank' | 'lines' | 'crosshatch' | 'graph' | 'confetti' | 'stripes' | 'diagonal' | 'waves' | 'bricks' | 'isometric' | 'hexagonal' | 'engineering' | 'checkerboard' | 'sparkles' | 'eggs' | 'cobwebs' | 'snowflakes' | 'candy-stripes' | 'flow' | 'drift' | 'aurora' | 'ripple' | 'ribbons', required
        - `scale` number
        - `speed` number
      - `finish` 'flexible' | 'professional' | 'sketch' | 'marker', required
      - `font` string
      - `onAccent` FormHalves, required: A colour for each half of the page.
        - `dark` string, required
        - `light` string, required
    - `message` string, required
    - `state` 'closed', required

## Other responses

- `404`: Error.
- `429`: Error.

---

[API](https://skmtc.dev/livediagram/apis/livediagram-api.md) · [All operations](https://skmtc.dev/livediagram/apis/livediagram-api/llms.txt) · [OpenAPI document](https://skmtc.dev/livediagram/apis/livediagram-api/revisions/f286d27acfd2?raw)
