Form fields

A form has no fields to declare: its fields are the ones your website sends. BackMyForm detects them in the submissions it receives, with the types of their values.

The field object

  • Name
    id
    Type
    string
    Description

    The id of the field.

  • Name
    fieldId
    Type
    string
    Description

    The name of the field, as sent by your website: the name of the input. It is the fieldId of the values of the submissions.

  • Name
    displayName
    Type
    string
    Description

    The name shown in the app, made from fieldId at first.

  • Name
    fieldTypes
    Type
    string[]
    Description

    The types of the values received in the field: string, number, boolean, date, time, datetime, email or file.

  • Name
    visibleInTable
    Type
    boolean
    Description

    The field is a column of the table of the submissions in the app.

  • Name
    firstSeenAt
    Type
    date
    Description

    When the field was first received.

  • Name
    lastSeenAt
    Type
    date
    Description

    When the field was last received.

A form has at most 200 fields.


GET /v1/forms/:formId/fields

List all fields

Returns the fields of the form, in the order they were first received. The list is not paginated.

GET
/v1/forms/:formId/fields
curl https://api.backmyform.com/v1/forms/1f0b2c4e-1a2b-6c3d-8e4f-5a6b7c8d9e0f/fields \
  -H "Authorization: Bearer $BACKMYFORM_API_KEY"

Request

Response

[
	{
		"id": "1f0b2c52-6f7a-6b8c-9d0e-1f2a3b4c5d6e",
		"fieldId": "email",
		"displayName": "Email",
		"fieldTypes": ["email"],
		"visibleInTable": true,
		"firstSeenAt": "2026-10-02T08:20:31.000Z",
		"lastSeenAt": "2026-11-20T14:32:10.000Z"
	},
	{
		"id": "1f0b2c52-7a8b-6c9d-8e0f-2a3b4c5d6e7f",
		"fieldId": "company_size",
		"displayName": "Company size",
		"fieldTypes": ["number"],
		"visibleInTable": false,
		"firstSeenAt": "2026-10-02T08:20:31.000Z",
		"lastSeenAt": "2026-11-18T11:02:54.000Z"
	}
]

PUT /v1/forms/:formId/fields/:id

Update a field

Renames a field, or shows it in the table of the app, and returns it. Send at least one parameter. The fieldId can't change: it is the name your website sends.

Optional parameters

  • Name
    displayName
    Type
    string
    Description

    The name shown in the app, up to 100 characters.

  • Name
    visibleInTable
    Type
    boolean
    Description

    Shows the field as a column of the table of the submissions.

PUT
/v1/forms/:formId/fields/:id
curl -X PUT https://api.backmyform.com/v1/forms/1f0b2c4e-1a2b-6c3d-8e4f-5a6b7c8d9e0f/fields/1f0b2c52-7a8b-6c9d-8e0f-2a3b4c5d6e7f \
  -H "Authorization: Bearer $BACKMYFORM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "displayName": "Employees", "visibleInTable": true }'

Request

Response

{
	"id": "1f0b2c52-7a8b-6c9d-8e0f-2a3b4c5d6e7f",
	"fieldId": "company_size",
	"displayName": "Employees",
	"fieldTypes": ["number"],
	"visibleInTable": true,
	"firstSeenAt": "2026-10-02T08:20:31.000Z",
	"lastSeenAt": "2026-11-18T11:02:54.000Z"
}