Survey Fields

Form fields on a survey. Each field has a data type (text, number, date, dropdown, checkbox, file) and optional configuration. Dropdown and multi-select fields have selectable options managed via survey_field_options.

Attributes

aggregation_type_id integer
Response Request Enum

ID of the aggregation type used when summarizing responses to this field.

Enum Values (2 values)

  • 1
    SUM
  • 2
    AVG
archived object
Parameter `filter`

Whether this survey field has been archived.

archived_at string
Response

Timestamp when this survey field was archived, or null if not archived.

created_at string
Response Parameter `sort`

Timestamp when this survey field was created.

custom_field_people array of person
Response

People associated with this survey field via custom field lookups.

customizable_type string
Response

The resource type this survey field can be attached to (e.g. tasks, deals, contacts).

data_type_id integer
Response Request Enum

ID of the data type that determines what kind of value this field stores (text, number, date, etc.).

Enum Values (7 values)

  • 1
    Text field
  • 2
    Number field
  • 3
    Select field
  • 4
    Date field
  • 5
    Multiple select field
  • 6
    Person field
  • 7
    Attachment field
description string
Response Request

[DESCRIPTION]

formatting_type_id integer
Response Request

ID of the formatting type that controls how this field's value is displayed.

global boolean
Response Parameter `filter`

When true, this field is shared across all projects in the organization.

id object
Parameter `sort`

The unique identifier of this survey field.

name string
Response Request Parameter `filter` Parameter `sort`

The name (label) of this survey field.

options array of survey field option
Response

The answer options available for this survey field (for multiple-choice fields).

organization organization
Response

The organization this survey field belongs to.

origin_field custom field
Response

The original custom field this survey field was created from, if applicable.

origin_field_id integer
Request Parameter `filter`

ID of the original custom field this survey field was created from, if applicable.

position integer
Response Request

The display order position of this field within the survey.

project_id integer
Parameter `filter` Parameter `sort`

ID of the project this survey field belongs to.

quick_add_enabled boolean
Response Request

When true, this field can be quickly added to a resource without opening the full edit form.

required boolean
Response Request

Whether a response to this field is required when submitting the survey.

sensitive boolean
Response

When true, the value of this field is treated as sensitive and hidden from unauthorized users.

show_in_add_edit_views boolean
Response Request Parameter `filter`

The show in add edit views.

survey survey
Response

The survey this field belongs to.

survey_id integer
Request Parameter `filter` Parameter `sort`

ID of the survey this field belongs to.

updated_at string
Response Parameter `sort`

Timestamp when this survey field was last updated.

Examples

Loading example