BizKitHub
getFormÖffentliche API v1

/api/v1/form/detail

Returns form definition with all active fields, their types, labels, and validation rules. Throws PUBLIC_FORM_DOES_NOT_EXIST if the form is not found or inactive.

formgetApiV1FormDetail

Parameter

2 in der Query

Query-Parameter

· 2
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
codestringOptional

Unique form code identifier.

Beispielcontact-form

Antwortschema

1 dokumentierter Statuscode

200ErfolgForm definition.
idstringPflicht

Form code (unique identifier).

Beispielcontact-form
namestringPflicht

Display name of the form.

BeispielContact Form
descriptionstringOptional

Form description or instructions.

fieldsobject[]Pflicht

Ordered list of active form fields.

Jedes Array-Element:
keystringPflicht

Field key used for form submission.

Beispieleemailmessage
typestringPflicht

Field type.

Beispieletextemailtextareaselectcheckbox
labelstringPflicht

Human-readable field label.

BeispielYour email
helperTextstringOptional

Additional helper text shown below the field.

requiredbooleanPflicht

Whether the field is required.

defaultValuestringOptional

Pre-filled default value.

optionsobjectOptional

Key-value map of options for select/radio fields.

Antwortbeispiel

application/json
{
  "id": "contact-form",
  "name": "Contact Form",
  "description": "example_description",
  "fields": [
    {
      "key": "email",
      "type": "text",
      "label": "Your email",
      "helperText": "example_helperText",
      "required": false,
      "defaultValue": "example_defaultValue",
      "options": {}
    }
  ]
}

Anfragebeispiel

GET /api/v1/form/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/form/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&code=contact-form" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten