Skip to main content

Field Object

Example
{
"slug": "random_10_digit_alphanumeric_value",
"label": "Field Name",
"field_type": "field_type",
"params": {
...field_specific_params
},
"is_new": true
}

Add Field wraps this object in a field key.

Object Literals​

ParamTypeOptionalDescription
slugstringNoA random 10 digit alphanumeric value.
labelstringNoThe field name.
field_typestringNoThe field type (see below).
paramsobjectNofield-specific parameters.
is_newbooleanNoSet to true for new fields.

Common params​

These params appear on many field types. Several of them can be null, so don't assume a value is always present.

ParamTypeNullableDescription
requiredbooleanNoWhether a value is required.
uniquebooleanNoWhether values must be unique.
hiddenbooleanNoWhether the field is hidden.
help_textstringYesPlain-text help for the field.
help_docobjectYesField help as a SmartDoc object. Null on most fields.
widthnumberYesRecord layout width: 1 = half width, 2 = full width. Null on system fields and fields that have not been placed in the layout.
linked_applicationstringYesThe target Table of a Linked Record, Lookup, Rollup or Count field. Usually a Table Id, but system tables are referenced by slug, e.g. members, so don't assume a 24-character Id.
linked_field_slugstringYesThe mirrored field on the linked Table. Null when there is no mirror.
target_field_structureobjectYesThe shape of the value a Formula, Lookup or Rollup field produces. Null when there is no resolved target.

Field Types​

The following is a list of the field type values for each supported SmartSuite field.

Field NameField TypeNotes
Single Selectsingleselectfield
Multiple Selectmultipleselectfield
Statusstatusfield
Tagtagsfield
Texttextfield
Addressaddressfield
Datedatefield
Date Rangedaterangefield
Due Dateduedatefield
Durationdurationfield
Timetimefield
Time Tracking LogtimetrackingfieldBulk add unsupported.
ChecklistchecklistfieldBulk add unsupported.
Color Pickercolorpickerfield
Emailemailfield
Full Namefullnamefield
IP Addressipaddressfield
Linklinkfield
Phonephonefield
Title (Primary)recordtitlefieldSystem Field, cannot be added via API
SmartDocrichtextareafield
Social NetworksocialnetworkfieldBulk add unsupported.
Text Areatextareafield
Currencycurrencyfield
Numbernumberfield
Number Slidernumbersliderfield
Percent Completepercentcompletefield
Percentpercentfield
Ratingratingfield
Yes / Noyesnofield
VotevotefieldBulk add unsupported.
CountcountfieldBulk add unsupported.
Files and ImagesfilefieldBulk add unsupported.
SignaturesignaturefieldBulk add unsupported.
FormulaformulafieldBulk add unsupported.
Lookuplookupfield
RolluprollupfieldBulk add unsupported.
Record IdrecordidfieldBulk add unsupported.
First CreatedfirstcreatedfieldSystem Field, cannot be added via API
Last UpdatedlastupdatedfieldSystem Field, cannot be added via API
Sub-ItemssubitemsfieldBulk add unsupported.
Open CommentscommentscountfieldSystem Field, cannot be added via API
ButtonbuttonfieldBulk add unsupported.
Linked Recordlinkedrecordfield
Assigned Touserfield
Auto NumberautonumberfieldSystem Field, cannot be added via API
Availability Statusavailabilitystatusfield