Skip to main content
GET
/
api
/
v1
/
forms
/
{form_token}
/
theme
Get the form theme
curl --request GET \
  --url https://formhug.ai/api/v1/forms/{form_token}/theme \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "header": {
      "images": [
        {
          "url": "<string>",
          "id": "<string>"
        }
      ]
    },
    "wallpaper": {
      "color": "<string>"
    },
    "primary_color": "<string>",
    "submit_button": {
      "style": {
        "background_color": "<string>",
        "color": "<string>"
      }
    },
    "typography": {
      "form_header": {
        "color": "<string>"
      },
      "field_label": {
        "color": "<string>"
      },
      "choice_style": {
        "color": "<string>"
      }
    },
    "general_button": {
      "color": "<string>",
      "border_color": "<string>"
    },
    "form_container": {
      "style": {
        "background_color": "<string>"
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://formhug.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Personal Access Token prefixed with fh_. Sent as Authorization: Bearer fh_xxx. The scope required by each endpoint is listed in that endpoint's description.

Path Parameters

form_token
string
required

Form token

Response

With header image

data
object
required
Last modified on May 21, 2026