GET/forms/:id

Get Form

Retrieve a single form by ID with its full schema

Scope: FORMS_READ

Overview

Returns the complete form record including the full schema with all fields, sections, settings, and metadata. Use this endpoint when you need the full form definition.

Request

GET/forms/:id

Path Parameters

Headers

HeaderValue
AuthorizationBearer fxk_live_<your-api-key>

Example Request

curl -X GET "https://api.formfex.com/api/v1/public/forms/FORM_ID" \
  -H "Authorization: Bearer $FORMFEX_API_KEY"

Response

Response Fields

FieldTypeDescription
data.idstringUnique form identifier (UUID)
data.userIdstringOwner's user ID
data.titlestringForm title
data.schemaFormSchemaComplete form schema (see below)
data.publishStatusstringDRAFT, PUBLISHED, or ARCHIVED
data.publishVisibilitystringPUBLIC or PRIVATE
data.publishedAtstring | nullISO 8601 publish timestamp
data.expiresAtstring | nullISO 8601 expiry timestamp
data.shareUrlstring | nullShort sharing slug
data.isActivebooleanWhether the form is active (not soft-deleted)
data.createdAtstringISO 8601 creation timestamp
data.updatedAtstringISO 8601 last update timestamp

FormSchema Structure

FieldTypeDescription
schema.versionstringSchema format version (e.g., "1.0")
schema.schemaVersionstringSchema revision (e.g., "2026-02")
schema.metaobjectForm metadata: title, description, language, submitLabel, isAICreated
schema.settingsobjectForm settings: layout (single-column | two-column), submitAction, redirectUrl
schema.sectionsSection[]Array of form sections with id, title, description, order, conditionalLogic
schema.fieldsField[]Array of form fields (see Add Field for the full field structure)

Field Properties

PropertyTypeDescription
idstringUnique field identifier
sectionIdstringID of the section this field belongs to
typestringField type: text, textarea, number, email, select, radio, checkbox, date, file
labelstringDisplay label
ordernumberDisplay order within the section
requiredbooleanWhether the field is mandatory
hintstringHelper text shown below the field
placeholderstringPlaceholder text
defaultValueanyDefault value
optionsarrayOptions for select/radio/checkbox (each with label and value)
fileConfigobjectFile upload config: maxSizeMB, allowedTypes
validationobjectValidation rules (see Create Form)
conditionalLogicobjectConditional visibility (see Create Form)

Section Properties

PropertyTypeDescription
idstringUnique section identifier
titlestringSection heading
descriptionstringOptional section description
ordernumberDisplay order
conditionalLogicobjectConditional visibility — same structure as field conditional logic

n8n

In n8n, this operation is available as Get under the Form resource in the Formfex node.