Skip to main content
Version: v3

Create Custom Field

POST 

/custom-fields/

Create Custom Field

info

Only supports Custom Objects and Company (Business) today. Will be extended to other Standard Objects in the future.

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    locationIdstringrequired

    Location Id

    namestring

    Field name

    descriptionstring

    Description of the field

    placeholderstring

    Placeholder text for the field

    showInFormsbooleanrequired

    Whether the field should be shown in forms

    optionsobject[]

    Options for the field (Optional, valid only for SINGLE_OPTIONS, MULTIPLE_OPTIONS, RADIO, CHECKBOX, TEXTBOX_LIST type)

    acceptedFormatsstring

    Allowed file formats for uploads. Options include: .pdf, .docx, .doc, .jpg, .jpeg, .png, .gif, .csv, .xlsx, .xls, all

    Available options.pdf.docx.doc.jpg.jpeg.png.gif.csv.xlsx.xlsall
    dataTypestringrequired

    Type of field that you are trying to create

    Available optionsTEXTLARGE_TEXTNUMERICALPHONEMONETORYCHECKBOXSINGLE_OPTIONSMULTIPLE_OPTIONSDATETEXTBOX_LISTFILE_UPLOADRADIO
    fieldKeystringrequired

    Field key. For Custom Object it's formatted as "custom_object.{objectKey}.{fieldKey}". "custom_object" is a fixed prefix, "{objectKey}" is your custom object's identifier, and "{fieldKey}" is the unique field name within that object. Example: "custom_object.pet.name" for a "name" field in a "pet" custom object.

    objectKeystringrequired

    The key for your custom object. This key uniquely identifies the custom object. Example: "custom_object.pet" for a custom object related to pets.

    maxFileLimitnumber

    Maximum file limit for uploads. Applicable only for fields with a data type of FILE_UPLOAD.

    allowCustomOptionboolean

    Determines if users can add a custom option value different from the predefined options in records for RADIO type fields. A custom value added in one record does not automatically become an option and will not appear as an option for other records.

    parentIdstringrequired

    ID of the parent folder

application/json

Successful response

Schema
    fieldobject