---
title: "Get Public Form"
method: GET
path: "/public/forms/{form_id}"
tags: ["public-forms"]
---

# Get Public Form

`GET /public/forms/{form_id}`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/public/forms/{form_id}`
- Auth: none declared

Get a public form for rendering.

This endpoint is used by the userportal to render the form.
Only returns forms that are both public and active.

## Path parameters

- `form_id` string, required

## Response `200`

Successful Response

- PublicFormResponse: Public form response (for rendering form)
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `form_type` 'form' | 'survey', required: Form type enum
  - `settings` FormSettings, required: Form-level settings
    - `theme` 'light' | 'dark' | 'system'
    - `primary_color` string
    - `show_logo` boolean
    - `logo_url` string, nullable
    - `thank_you_message` string
    - `thank_you_description` string, nullable
    - `redirect_url` string, nullable
    - `redirect_delay_seconds` integer
    - `show_progress_bar` boolean
    - `allow_save_draft` boolean
    - `require_all_fields` boolean
    - `send_email_notification` boolean
    - `notification_emails` string[]
    - `create_feedback_on_submit` boolean
    - `contact_email_block_id` integer, nullable
  - `blocks` PublicFormBlockResponse[], required
    - `id` integer, required
    - `block_type` 'short_text' | 'long_text' | 'single_choice' | 'multiple_choice' | 'rating' | 'nps' | 'email' | 'date' | 'file_upload' | 'heading' | 'paragraph' | 'divider' | 'image', required: Block type enum - all available form block types
    - `title` string, nullable
    - `description` string, nullable
    - `placeholder` string, nullable
    - `is_required` boolean, required
    - `settings` object
    - `order` integer, required
    - `page` integer, required
  - `product_name` string, required
  - `product_logo_url` string, nullable

## Other responses

- `422`: Validation Error

---

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