Skip to main content
POST
Create a public query

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.

Body

application/json
form_token
string
required

Form to query; you must be able to manage it.

name
string
required
Example:

"Exam results"

search_field_rules
object[]
required

Search field groups; every group must be satisfied. Replaces the existing groups. A field may appear only once across all groups.

Searchable fields (fields[].field):

  • Form fields of type short_text, long_text, name, phone, email, number, date, radio, dropdown, cascade and linked_form.
  • The two sub-fields of a booking field: <booking_api_code>_attribute_api_code (booked item) and <booking_api_code>_attribute_date_time (booked time).
  • System fields: serial_number; exam_score (exam forms); gen_code (forms with verification codes).
  • Linked-form sub-fields that are publicly displayable and searchable by the rules above, including the linked form's serial_number, as <linked_form_api_code>_associated_<sub_field_api_code>.

A field outside this set is rejected with 422, and the error message lists the allowed api_codes for the form.

Minimum array length: 1
display_field_rules
object[]
required

Fields shown on each result. Replaces the existing list. A field may appear only once.

Displayable fields (field):

  • Form fields of type short_text, long_text, name, phone, email, number, date, time, radio, checkbox, image_radio, image_checkbox, dropdown, cascade, url, address, rating, nps, attachment, audio, signature, ranking, matrix, matrix_rating, likert, location, product, booking and linked_form.
  • System fields: serial_number, created_at, updated_at, info_filling_duration; total_price and preferential_price (forms with products); reservation_status_fsf_field (booking status, forms with bookings); exam_score (exam forms); x_field_certificate (forms with certificates); gen_code (forms with verification codes); evaluation_report (evaluation forms).
  • Linked-form sub-fields that are publicly displayable, as <linked_form_api_code>_associated_<sub_field_api_code>.

A field outside this set is rejected with 422, and the error message lists the allowed api_codes for the form.

Minimum array length: 1
description
string | null
enabled
boolean

Whether the public page accepts searches.

allow_to_export_results
boolean
search_button
object
messages
object
header
object
scope_conditions
object[]

Limit which entries visitors can find, using the entries filter syntax (all ANDed). [] removes the limit. Requires a plan with scoped data.

Response

Created

data
object
required
Last modified on October 9, 2026